diff options
| author | Al <gabriel.cortesi@outlook.com> | 2019-10-04 22:16:39 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-04 22:16:39 +0200 |
| commit | e427dbae55c77276288cdc8105604885a4b3309c (patch) | |
| tree | 48c57873e62597ee005e60690e669f32833baa25 /src/settings.cpp | |
| parent | 73541c9bb45366f648ba2a9c430ca7b526a8a6a2 (diff) | |
| parent | c4dd23abb7a37531040d6348c491dc868919013c (diff) | |
Merge pull request #847 from isanae/file-renamer-errors
FileRenamer error messages
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())); } } |
