Commit 87fb7c7a authored by Alexander Lohnau's avatar Alexander Lohnau 💬

Port deprecated QProcess::startDetached(QString) method

parent 371e91b9
......@@ -32,7 +32,7 @@ SoftwareRendererNotifier::SoftwareRendererNotifier(QObject *parent)
setStandardActionsEnabled(false);
connect(this, &KStatusNotifierItem::activateRequested, this, []() {
QProcess::startDetached("kcmshell5 qtquicksettings");
QProcess::startDetached(QStringLiteral("kcmshell5"), {QStringLiteral("qtquicksettings")});
});
auto menu = new QMenu; //ownership is transferred in setContextMenu
......
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