summaryrefslogtreecommitdiff
path: root/src/plugins/coreplugin/fileutils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/coreplugin/fileutils.cpp')
-rw-r--r--src/plugins/coreplugin/fileutils.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/plugins/coreplugin/fileutils.cpp b/src/plugins/coreplugin/fileutils.cpp
index 99a9df5f80..28f66b50d4 100644
--- a/src/plugins/coreplugin/fileutils.cpp
+++ b/src/plugins/coreplugin/fileutils.cpp
@@ -66,11 +66,8 @@ 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,
- parent);
- }
+ if (mbox.clickedButton() == settingsButton)
+ ICore::showOptionsDialog(Constants::SETTINGS_ID_ENVIRONMENT, parent);
}
void FileUtils::showInGraphicalShell(QWidget *parent, const QString &pathIn)