mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
d87a1f6784
commit
18b7a2778d
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue