Commit c87016ae authored by Kurt Hindenburg's avatar Kurt Hindenburg

Use new QT5 signal/slot convention

parent f5418597
......@@ -156,8 +156,7 @@ extern "C" int Q_DECL_EXPORT kdemain(int argc, char* argv[])
// The activateRequested() signal is emitted when a second instance
// of Konsole is started.
QObject::connect(&dbusService, SIGNAL(activateRequested(QStringList,QString)),
&konsoleApp, SLOT(slotActivateRequested(QStringList,QString)));
QObject::connect(&dbusService, &KDBusService::activateRequested, &konsoleApp, &Application::slotActivateRequested);
if (!konsoleApp.newInstance()) {
// An argument that printed something and mean we should just quit was passed.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment