diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-05-22 08:10:02 -0300 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2013-05-22 08:10:02 -0300 |
commit | 003729bde6d88ed59ee0ce088e78b3953a670847 (patch) | |
tree | 468016b593a60edd8340d73deeead0e20090b817 | |
parent | 478baf107623c3aa0c31c3256cfc3bc794b089b1 (diff) | |
download | subsurface-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.cpp | 2 |
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); |