From 38133da2dbf7ee26bb97d9b55f10fc6ee7e524c4 Mon Sep 17 00:00:00 2001 From: David Faure Date: Thu, 29 Jan 2009 19:11:15 +0000 Subject: [PATCH] Fix connect() warning - nobody reads the plasma startup warnings, apparently ;) svn path=/trunk/KDE/kdelibs/; revision=918303 --- private/toolbox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/private/toolbox.cpp b/private/toolbox.cpp index a3cd6d234..cf09af5b7 100644 --- a/private/toolbox.cpp +++ b/private/toolbox.cpp @@ -125,7 +125,7 @@ void ToolBox::addTool(QAction *action) //make enabled/disabled tools appear/disappear instantly connect(tool, SIGNAL(changed()), this, SLOT(updateToolBox())); - connect(tool, SIGNAL(triggered(bool)), this, SLOT(toolTriggered(bool))); + connect(action, SIGNAL(triggered(bool)), this, SLOT(toolTriggered(bool))); //kDebug() << "added tool" << action->text() << (QGraphicsItem*)tool; }