# HG changeset patch # User Teemu Piippo # Date 1425413256 -7200 # Node ID be8128aff73985e2b0c5753a2fa370d22de826cd # Parent f4c80d92e71efa782ad9ecde1e9dfed1e986ba1c - fixed: actions did not fire anymore diff -r f4c80d92e71e -r be8128aff739 src/mainWindow.cpp --- a/src/mainWindow.cpp Tue Mar 03 21:54:57 2015 +0200 +++ b/src/mainWindow.cpp Tue Mar 03 22:07:36 2015 +0200 @@ -145,10 +145,7 @@ // void MainWindow::actionTriggered() { - // Get the name of the sender object and use it to compose the slot name, - // then invoke this slot to call the action. - QMetaObject::invokeMethod (this, - qPrintable (format ("slot_%1", sender()->objectName())), Qt::DirectConnection); + QMetaObject::invokeMethod (this, qPrintable (sender()->objectName()), Qt::DirectConnection); endAction(); }