From 003729bde6d88ed59ee0ce088e78b3953a670847 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Wed, 22 May 2013 08:10:02 -0300 Subject: Fixed the 'click in close doesn't close' on KMessageWidget. Signed-off-by: Tomaz Canabrava --- qt-ui/kmessagewidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3-70-g09d2