diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2014-10-31 15:40:57 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-10-31 13:52:52 -0700 |
commit | c47972a18912ae306b072b7d6348d99c1b8a6637 (patch) | |
tree | 062cea39990af98334a25d943608e87a36f85768 /qt-ui/simplewidgets.cpp | |
parent | c68a94da6ade76a6ffe46c959c5b67446131aa72 (diff) | |
download | subsurface-c47972a18912ae306b072b7d6348d99c1b8a6637.tar.gz |
tagfilter.ui -> filterwidget.ui
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/simplewidgets.cpp')
-rw-r--r-- | qt-ui/simplewidgets.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/qt-ui/simplewidgets.cpp b/qt-ui/simplewidgets.cpp index d00fab81e..a5ad49923 100644 --- a/qt-ui/simplewidgets.cpp +++ b/qt-ui/simplewidgets.cpp @@ -459,10 +459,11 @@ void DiveComponentSelection::buttonClicked(QAbstractButton *button) TagFilter::TagFilter(QWidget *parent) : QWidget(parent) { ui.setupUi(this); + ui.label->setText(tr("Tags: ")); QSortFilterProxyModel *filter = new QSortFilterProxyModel(); filter->setSourceModel(TagFilterModel::instance()); - connect(ui.filterTag, SIGNAL(textChanged(QString)), filter, SLOT(setFilterFixedString(QString))); - ui.tagView->setModel(filter); + connect(ui.filterInternalList, SIGNAL(textChanged(QString)), filter, SLOT(setFilterFixedString(QString))); + ui.filterList->setModel(filter); } void TagFilter::showEvent(QShowEvent *event) |