diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2014-10-31 17:48:44 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-10-31 14:58:56 -0700 |
commit | 18b7a2778dc634a628c47156dc1492cdd4a2a546 (patch) | |
tree | ec7dceb05060618f5f74925db831db1b0d159630 | |
parent | d87a1f6784c2d04ecc38b6864c6b6493ee0c121d (diff) | |
download | subsurface-18b7a2778dc634a628c47156dc1492cdd4a2a546.tar.gz |
Added the widget on the screen, fix a typo.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | qt-ui/simplewidgets.cpp | 3 |
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); |