mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 13:10:19 +00:00
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>
This commit is contained in:
parent
d277d4d88e
commit
1841eb98b9
1 changed files with 2 additions and 0 deletions
|
@ -568,6 +568,8 @@ MultiFilter::MultiFilter(QWidget *parent) : QScrollArea(parent)
|
||||||
tb->addWidget(minimize);
|
tb->addWidget(minimize);
|
||||||
tb->addWidget(closeBtn);
|
tb->addWidget(closeBtn);
|
||||||
|
|
||||||
|
connect(closeBtn, SIGNAL(clicked(bool)), this, SLOT(hide()));
|
||||||
|
|
||||||
l->addWidget(tb);
|
l->addWidget(tb);
|
||||||
l->addWidget(tagFilter);
|
l->addWidget(tagFilter);
|
||||||
l->addWidget(new BuddyFilter());
|
l->addWidget(new BuddyFilter());
|
||||||
|
|
Loading…
Reference in a new issue