diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-10-04 09:40:37 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-10-04 09:40:37 -0400 |
| commit | c4dd23abb7a37531040d6348c491dc868919013c (patch) | |
| tree | cc007db06d880869f8b1c6fec6f074fecb9b9e0e /src/settings.cpp | |
| parent | 2fe50f2ff366ea850eb70a85c6ea7d6c936bf08a (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.cpp | 6 |
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())); } } |
