aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/simplewidgets.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/simplewidgets.cpp b/qt-ui/simplewidgets.cpp
index 9d9650c27..8756d822f 100644
--- a/qt-ui/simplewidgets.cpp
+++ b/qt-ui/simplewidgets.cpp
@@ -515,7 +515,7 @@ LocationFilter::LocationFilter(QWidget *parent) : QWidget(parent)
ui.filterInternalList->setClearButtonEnabled(true);
#endif
QSortFilterProxyModel *filter = new QSortFilterProxyModel();
- filter->setSourceModel(BuddyFilterModel::instance());
+ filter->setSourceModel(LocationFilterModel::instance());
connect(ui.filterInternalList, SIGNAL(textChanged(QString)), filter, SLOT(setFilterFixedString(QString)));
ui.filterList->setModel(filter);
}
@@ -538,6 +538,7 @@ MultiFilter::MultiFilter(QWidget *parent): QScrollArea(parent)
l->addWidget(new TagFilter());
l->addWidget(new BuddyFilter());
+ l->addWidget(new LocationFilter());
l->setContentsMargins(0,0,0,0);
l->setSpacing(1);