From ed600055aba82c2803515b0fa304f75ed3c3120e Mon Sep 17 00:00:00 2001 From: Erik Verbruggen Date: Wed, 30 Jan 2013 11:11:00 +0100 Subject: [PATCH] Fix warning about unused static function. Change-Id: Icc5de3ee0b44a178d6de7a37ce48d5b08fcec5fb Reviewed-by: hjk --- src/plugins/coreplugin/fileutils.cpp | 2 ++ 1 file changed, 2 insertions(+) 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) {