aboutsummaryrefslogtreecommitdiff
path: root/src/completion/FuzzySearchProxyModel.cpp
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2025-03-16 00:33:33 +0530
committerAkshay Nair <phenax5@gmail.com>2025-03-16 13:57:55 +0530
commit5a2a6aef3703d6aaaee24d9436da9e60ffcae769 (patch)
tree565bfebbd41003c0e198739056d9178d279dfa6a /src/completion/FuzzySearchProxyModel.cpp
parent387cf24e389854ecc97f6236fdd6acbc2486dd52 (diff)
downloadnull-browser-5a2a6aef3703d6aaaee24d9436da9e60ffcae769.tar.gz
null-browser-5a2a6aef3703d6aaaee24d9436da9e60ffcae769.zip
Fix UI issues with inputline and completer
Diffstat (limited to '')
-rw-r--r--src/completion/FuzzySearchProxyModel.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/completion/FuzzySearchProxyModel.cpp b/src/completion/FuzzySearchProxyModel.cpp
index 151f60e..0c467c6 100644
--- a/src/completion/FuzzySearchProxyModel.cpp
+++ b/src/completion/FuzzySearchProxyModel.cpp
@@ -7,14 +7,11 @@ bool FuzzySearchProxyModel::filterAcceptsRow(
int sourceRow, const QModelIndex &sourceParent) const {
QAbstractItemModel *model = sourceModel();
QString filterText = filterRegularExpression().pattern();
- qDebug() << "Searching: " << filterText;
for (int col = 0; col < model->columnCount(); ++col) {
QModelIndex index = model->index(sourceRow, col, sourceParent);
QString data = model->data(index, Qt::AccessibleDescriptionRole).toString();
- qDebug() << " against: " << data;
-
// TODO: Fuzzy eet up
if (data.contains(filterText, Qt::CaseInsensitive)) {
return true;