Explorar o código

cmake-gui: Fix install menu to be available for Qt5 builds on OS X.

Kevin Wojniak %!s(int64=10) %!d(string=hai) anos
pai
achega
c19539c594
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Source/QtDialog/CMakeSetupDialog.cxx

+ 1 - 1
Source/QtDialog/CMakeSetupDialog.cxx

@@ -119,7 +119,7 @@ CMakeSetupDialog::CMakeSetupDialog()
   QAction* showChangesAction = ToolsMenu->addAction(tr("&Show My Changes"));
   QAction* showChangesAction = ToolsMenu->addAction(tr("&Show My Changes"));
   QObject::connect(showChangesAction, SIGNAL(triggered(bool)),
   QObject::connect(showChangesAction, SIGNAL(triggered(bool)),
                    this, SLOT(showUserChanges()));
                    this, SLOT(showUserChanges()));
-#if defined(Q_WS_MAC)
+#if defined(Q_WS_MAC) || defined(Q_OS_MAC)
   this->InstallForCommandLineAction
   this->InstallForCommandLineAction
     = ToolsMenu->addAction(tr("&Install For Command Line Use"));
     = ToolsMenu->addAction(tr("&Install For Command Line Use"));
   QObject::connect(this->InstallForCommandLineAction, SIGNAL(triggered(bool)),
   QObject::connect(this->InstallForCommandLineAction, SIGNAL(triggered(bool)),