diff --git a/src/plugins/coreplugin/fileutils.cpp b/src/plugins/coreplugin/fileutils.cpp index d922cfa4a21..1e1917f9d84 100644 --- a/src/plugins/coreplugin/fileutils.cpp +++ b/src/plugins/coreplugin/fileutils.cpp @@ -57,6 +57,7 @@ using namespace Utils; namespace Core { +#ifndef Q_OS_MAC // Show error with option to open settings. static void showGraphicalShellError(QWidget *parent, const QString &app, const QString &error) { @@ -74,6 +75,7 @@ static void showGraphicalShellError(QWidget *parent, const QString &app, const Q if (mbox.clickedButton() == settingsButton) ICore::showOptionsDialog(Constants::SETTINGS_CATEGORY_CORE, Constants::SETTINGS_ID_ENVIRONMENT); } +#endif void FileUtils::showInGraphicalShell(QWidget *parent, const QString &pathIn) {