forked from qt-creator/qt-creator
Fix warning about unused static function.
Change-Id: Icc5de3ee0b44a178d6de7a37ce48d5b08fcec5fb Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -57,6 +57,7 @@ using namespace Utils;
|
|||||||
|
|
||||||
namespace Core {
|
namespace Core {
|
||||||
|
|
||||||
|
#ifndef Q_OS_MAC
|
||||||
// Show error with option to open settings.
|
// Show error with option to open settings.
|
||||||
static void showGraphicalShellError(QWidget *parent, const QString &app, const QString &error)
|
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)
|
if (mbox.clickedButton() == settingsButton)
|
||||||
ICore::showOptionsDialog(Constants::SETTINGS_CATEGORY_CORE, Constants::SETTINGS_ID_ENVIRONMENT);
|
ICore::showOptionsDialog(Constants::SETTINGS_CATEGORY_CORE, Constants::SETTINGS_ID_ENVIRONMENT);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
void FileUtils::showInGraphicalShell(QWidget *parent, const QString &pathIn)
|
void FileUtils::showInGraphicalShell(QWidget *parent, const QString &pathIn)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user