Tue, 03 Mar 2015 22:07:36 +0200
- fixed: actions did not fire anymore
src/mainWindow.cpp | file | annotate | diff | comparison | revisions |
--- 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(); }