aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-05-22 08:10:02 -0300
committerGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-05-22 08:10:02 -0300
commit003729bde6d88ed59ee0ce088e78b3953a670847 (patch)
tree468016b593a60edd8340d73deeead0e20090b817
parent478baf107623c3aa0c31c3256cfc3bc794b089b1 (diff)
downloadsubsurface-003729bde6d88ed59ee0ce088e78b3953a670847.tar.gz
Fixed the 'click in close doesn't close' on KMessageWidget.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
-rw-r--r--qt-ui/kmessagewidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/kmessagewidget.cpp b/qt-ui/kmessagewidget.cpp
index dc200654e..5b37c7455 100644
--- a/qt-ui/kmessagewidget.cpp
+++ b/qt-ui/kmessagewidget.cpp
@@ -56,7 +56,7 @@ void KMessageWidgetPrivate::init(KMessageWidget* q_ptr)
QObject::connect(textLabel, SIGNAL(linkHovered(const QString&)), q, SIGNAL(linkHovered(const QString&)));
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->setAutoRaise(true);