summaryrefslogtreecommitdiff
path: root/src/organizercore.cpp
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-10-31 02:18:21 -0400
committerisanae <14251494+isanae@users.noreply.github.com>2019-11-06 07:44:58 -0500
commitb855754c9708c825e6bc1e995cb0262c065c5d20 (patch)
tree0337f92c4625d78094149aa10b17673682058028 /src/organizercore.cpp
parent2c3079c1dc2aaeb84cbe7e4a021f6b3f22c785a3 (diff)
removed runShortcut()
changed lock widget text when running without a ui
Diffstat (limited to 'src/organizercore.cpp')
-rw-r--r--src/organizercore.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/organizercore.cpp b/src/organizercore.cpp
index 89e8bd9e..57e24f3b 100644
--- a/src/organizercore.cpp
+++ b/src/organizercore.cpp
@@ -354,8 +354,12 @@ void OrganizerCore::downloadRequestedNXM(const QString &url)
void OrganizerCore::externalMessage(const QString &message)
{
if (MOShortcut moshortcut{ message } ) {
- if(moshortcut.hasExecutable())
- processRunner().runShortcut(moshortcut);
+ if(moshortcut.hasExecutable()) {
+ processRunner()
+ .setFromShortcut(moshortcut)
+ .setWaitForCompletion(ProcessRunner::NoRefresh)
+ .run();
+ }
}
else if (isNxmLink(message)) {
MessageDialog::showMessage(tr("Download started"), qApp->activeWindow());