Corrected signal/slot connection (signal function header changed)

preferencesAboutTextFull
Craig Watson 9 years ago
parent cdc0311a6e
commit 72d43788da
  1. 2
      src/core/main.cpp

@ -134,7 +134,7 @@ int main(int argc, char *argv[])
//app.initialize(false); // should not be needed anymore
QObject::connect(&app, SIGNAL(messageReceived(const QString&)), &app, SLOT(handleOpenMessage(const QString&)));
QObject::connect(&app, SIGNAL(messageReceived(const QString&, QObject*)), &app, SLOT(handleOpenMessage(const QString&)));
qDebug() << "file name argument" << fileToOpen;
int result = app.exec(fileToOpen);

Loading…
Cancel
Save