Commit 8db0e9a5 authored by Ahmad Samir's avatar Ahmad Samir
Browse files
parent 5e331761
Pipeline #156533 passed with stage
in 1 minute and 5 seconds
......@@ -968,7 +968,7 @@ int main(int argc, char *argv[])
arguments << args.at(0);
}
qint64 pid = 0;
if (process.startDetached(QStringLiteral("kdialog_progress_helper"), arguments, QString(), &pid)) {
if (process.startDetached(QStandardPaths::findExecutable(QStringLiteral("kdialog_progress_helper")), arguments, QString(), &pid)) {
QDBusConnection dbus = QDBusConnection::sessionBus();
const QString serviceName = QStringLiteral("org.kde.kdialog-") + QString::number(pid);
QDBusServiceWatcher watcher(serviceName, dbus, QDBusServiceWatcher::WatchForRegistration);
......
Supports Markdown
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