diff --git a/src/kdbusservice.h b/src/kdbusservice.h --- a/src/kdbusservice.h +++ b/src/kdbusservice.h @@ -205,7 +205,7 @@ * In single-window applications, the connected signal should typically * raise the window. * - * @param arguments The arguments the executable was called with. + * @param arguments The arguments the executable was called with, starting with the executable name itself. * See QCoreApplication::arguments(). * * A typical implementation of the slot would be diff --git a/src/kdbusservice.cpp b/src/kdbusservice.cpp --- a/src/kdbusservice.cpp +++ b/src/kdbusservice.cpp @@ -203,7 +203,7 @@ } #endif // TODO QX11Info::setNextStartupId(platform_data.value("desktop-startup-id")) - emit activateRequested(QStringList(), QString()); + emit activateRequested(QStringList{qApp->applicationFilePath()}, QString()); // TODO (via hook) KStartupInfo::appStarted(platform_data.value("desktop-startup-id")) // ^^ same discussion as below }