@@ -195,7 +195,7 @@ QgsComposer::QgsComposer( QgisApp *qgis, const QString& title )
195195
196196 mActionAtlasPreview ->setCheckable ( true );
197197
198- #ifdef Q_WS_MAC
198+ #ifdef Q_OS_MAC
199199 mActionQuit ->setText ( tr ( " Close" ) );
200200 mActionQuit ->setShortcut ( QKeySequence::Close );
201201 QMenu *appMenu = menuBar ()->addMenu ( tr ( " QGIS" ) );
@@ -307,7 +307,7 @@ QgsComposer::QgsComposer( QgisApp *qgis, const QString& title )
307307 QShortcut* ctrlEquals = new QShortcut ( QKeySequence ( " Ctrl+=" ), this );
308308 connect ( ctrlEquals, SIGNAL ( activated () ), mActionZoomIn , SLOT ( trigger () ) );
309309
310- #ifndef Q_WS_MAC
310+ #ifndef Q_OS_MAC
311311 // disabled for OSX - see #10761
312312 // also see http://qt-project.org/forums/viewthread/3630 QGraphicsEffects are not well supported on OSX
313313 QMenu *previewMenu = viewMenu->addMenu ( " &Preview" );
@@ -404,7 +404,7 @@ QgsComposer::QgsComposer( QgisApp *qgis, const QString& title )
404404 QMenu *settingsMenu = menuBar ()->addMenu ( tr ( " &Settings" ) );
405405 settingsMenu->addAction ( mActionOptions );
406406
407- #ifdef Q_WS_MAC
407+ #ifdef Q_OS_MAC
408408 // this doesn't work on Mac anymore: menuBar()->addMenu( mQgis->windowMenu() );
409409 // QgsComposer::populateWithOtherMenu should work recursively with submenus and regardless of Qt version
410410 mWindowMenu = new QMenu ( tr ( " Window" ), this );
@@ -802,7 +802,7 @@ void QgsComposer::activate()
802802 }
803803}
804804
805- #ifdef Q_WS_MAC
805+ #ifdef Q_OS_MAC
806806void QgsComposer::changeEvent ( QEvent* event )
807807{
808808 QMainWindow::changeEvent ( event );
@@ -2950,7 +2950,7 @@ void QgsComposer::showEvent( QShowEvent* event )
29502950 restoreComposerMapStates ();
29512951 }
29522952
2953- #ifdef Q_WS_MAC
2953+ #ifdef Q_OS_MAC
29542954 // add to menu if (re)opening window (event not due to unminimize)
29552955 if ( !event->spontaneous () )
29562956 {
0 commit comments