diff options
Diffstat (limited to 'src/plugins/coreplugin/fileutils.cpp')
-rw-r--r-- | src/plugins/coreplugin/fileutils.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/plugins/coreplugin/fileutils.cpp b/src/plugins/coreplugin/fileutils.cpp index 003f677434..7a90335aa3 100644 --- a/src/plugins/coreplugin/fileutils.cpp +++ b/src/plugins/coreplugin/fileutils.cpp @@ -69,8 +69,11 @@ static void showGraphicalShellError(QWidget *parent, const QString &app, const Q QAbstractButton *settingsButton = mbox.addButton(Core::ICore::msgShowOptionsDialog(), QMessageBox::ActionRole); mbox.exec(); - if (mbox.clickedButton() == settingsButton) - ICore::showOptionsDialog(Constants::SETTINGS_CATEGORY_CORE, Constants::SETTINGS_ID_ENVIRONMENT); + if (mbox.clickedButton() == settingsButton) { + ICore::showOptionsDialog(Constants::SETTINGS_CATEGORY_CORE, + Constants::SETTINGS_ID_ENVIRONMENT, + parent); + } } void FileUtils::showInGraphicalShell(QWidget *parent, const QString &pathIn) |