summaryrefslogtreecommitdiff
path: root/src/settings.cpp
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-10-04 09:40:37 -0400
committerisanae <14251494+isanae@users.noreply.github.com>2019-10-04 09:40:37 -0400
commitc4dd23abb7a37531040d6348c491dc868919013c (patch)
treecc007db06d880869f8b1c6fec6f074fecb9b9e0e /src/settings.cpp
parent2fe50f2ff366ea850eb70a85c6ea7d6c936bf08a (diff)
added error messages to FileRenamer and a few more
fixes for shell functions changing names
Diffstat (limited to 'src/settings.cpp')
-rw-r--r--src/settings.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/settings.cpp b/src/settings.cpp
index 462cd92a..15bc801a 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -1808,10 +1808,12 @@ void NexusSettings::registerAsNXMHandler(bool force)
}
parameters += " \"" + executable + "\"";
- if (!shell::Execute(nxmPath, parameters)) {
+ const auto r = shell::Execute(nxmPath, parameters);
+
+ if (!r.success()) {
QMessageBox::critical(
nullptr, QObject::tr("Failed"),
- QObject::tr("Failed to start the helper application"));
+ QObject::tr("Failed to start the helper application: %1").arg(r.toString()));
}
}