diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-10-31 02:18:21 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-11-06 07:44:58 -0500 |
| commit | b855754c9708c825e6bc1e995cb0262c065c5d20 (patch) | |
| tree | 0337f92c4625d78094149aa10b17673682058028 /src/main.cpp | |
| parent | 2c3079c1dc2aaeb84cbe7e4a021f6b3f22c785a3 (diff) | |
removed runShortcut()
changed lock widget text when running without a ui
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 5ed7da5d..9decb94e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -632,7 +632,11 @@ int runApplication(MOApplication &application, SingleInstance &instance, if (MOShortcut shortcut{ arguments.at(1) }) { if (shortcut.hasExecutable()) { try { - organizer.processRunner().runShortcut(shortcut); + organizer.processRunner() + .setFromShortcut(shortcut) + .setWaitForCompletion(ProcessRunner::NoRefresh) + .run(); + return 0; } catch (const std::exception &e) { |
