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:
Tomaz Canabrava 2014-11-11 17:07:48 -02:00 committed by Dirk Hohndel
parent d277d4d88e
commit 1841eb98b9

View file

@ -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());