From 6ae69c89c526ca0fb6384ac1ee830838687ba070 Mon Sep 17 00:00:00 2001 From: Albert Vaca Cintora Date: Fri, 14 Jun 2024 14:56:46 +0200 Subject: [PATCH] Fix powershell example command --- plugins/runcommand/runcommand_config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/runcommand/runcommand_config.cpp b/plugins/runcommand/runcommand_config.cpp index 5579b3102..6af684274 100644 --- a/plugins/runcommand/runcommand_config.cpp +++ b/plugins/runcommand/runcommand_config.cpp @@ -47,7 +47,7 @@ RunCommandConfig::RunCommandConfig(QObject *parent, const KPluginMetaData &data, addSuggestedCommand( defaultMenu, i18n("Say Hello"), - QStringLiteral("PowerShell -Command \"Add-Type –AssemblyName System.Speech; (New-Object System.Speech.Synthesis.SpeechSynthesizer).Speak('hello');\"")); + QStringLiteral("PowerShell -Command Add-Type -AssemblyName System.Speech; (New-Object System.Speech.Synthesis.SpeechSynthesizer).Speak('hello');")); #else addSuggestedCommand(defaultMenu, i18n("Shutdown"), QStringLiteral("systemctl poweroff")); addSuggestedCommand(defaultMenu, i18n("Reboot"), QStringLiteral("systemctl reboot"));