diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2014-11-11 17:07:48 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-11-11 13:08:01 -0800 |
commit | 1841eb98b95096747bccf937e4c7d074c972bace (patch) | |
tree | 65f0f86c16b3c628930cd4e010f280439d1ede73 /qt-ui | |
parent | d277d4d88e29c64e0ec29e15bf9f7b04054c356a (diff) | |
download | subsurface-1841eb98b95096747bccf937e4c7d074c972bace.tar.gz |
Make the close button work
clicking on the close button will close the widget.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/simplewidgets.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/simplewidgets.cpp b/qt-ui/simplewidgets.cpp index 1a23c31ea..a46a22c97 100644 --- a/qt-ui/simplewidgets.cpp +++ b/qt-ui/simplewidgets.cpp @@ -568,6 +568,8 @@ MultiFilter::MultiFilter(QWidget *parent) : QScrollArea(parent) tb->addWidget(minimize); tb->addWidget(closeBtn); + connect(closeBtn, SIGNAL(clicked(bool)), this, SLOT(hide())); + l->addWidget(tb); l->addWidget(tagFilter); l->addWidget(new BuddyFilter()); |