mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Fixed the 'click in close doesn't close' on KMessageWidget.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
parent
478baf1076
commit
003729bde6
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ void KMessageWidgetPrivate::init(KMessageWidget* q_ptr)
|
||||||
QObject::connect(textLabel, SIGNAL(linkHovered(const QString&)), q, SIGNAL(linkHovered(const QString&)));
|
QObject::connect(textLabel, SIGNAL(linkHovered(const QString&)), q, SIGNAL(linkHovered(const QString&)));
|
||||||
|
|
||||||
QAction* closeAction = new QAction(QObject::tr("Close"), q);
|
QAction* closeAction = new QAction(QObject::tr("Close"), q);
|
||||||
q->connect(closeAction, SIGNAL(toggled(bool)), q, SLOT(animatedHide()));
|
q->connect(closeAction, SIGNAL(triggered(bool)), q, SLOT(animatedHide()));
|
||||||
|
|
||||||
closeButton = new QToolButton(content);
|
closeButton = new QToolButton(content);
|
||||||
closeButton->setAutoRaise(true);
|
closeButton->setAutoRaise(true);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue