From 18b7a2778dc634a628c47156dc1492cdd4a2a546 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Fri, 31 Oct 2014 17:48:44 -0200 Subject: Added the widget on the screen, fix a typo. Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-ui/simplewidgets.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3-70-g09d2