diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2016-05-31 22:35:43 +0300 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2016-06-01 05:35:25 +0000 |
commit | 34a7ff07b78ce3cf8fe57621894e578538d71dcd (patch) | |
tree | 8d8a5a0286acc8d3e283effb35cfb9e24ddeb868 /src/app | |
parent | 8de20c9d6c02c468314def1e9c903cc8876bf093 (diff) |
Main: Use Qt5-style connects
Change-Id: I7619495818728f7b7196c5f8447bf446eedef248
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/app')
-rw-r--r-- | src/app/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/app/main.cpp b/src/app/main.cpp index b3b8907d133..425b015c8aa 100644 --- a/src/app/main.cpp +++ b/src/app/main.cpp @@ -515,14 +515,14 @@ int main(int argc, char **argv) } // Set up remote arguments. - QObject::connect(&app, SIGNAL(messageReceived(QString,QObject*)), - &pluginManager, SLOT(remoteArguments(QString,QObject*))); + QObject::connect(&app, &SharedTools::QtSingleApplication::messageReceived, + &pluginManager, &PluginManager::remoteArguments); QObject::connect(&app, SIGNAL(fileOpenRequest(QString)), coreplugin->plugin(), SLOT(fileOpenRequest(QString))); // shutdown plugin manager on the exit - QObject::connect(&app, SIGNAL(aboutToQuit()), &pluginManager, SLOT(shutdown())); + QObject::connect(&app, &QCoreApplication::aboutToQuit, &pluginManager, &PluginManager::shutdown); return app.exec(); } |