Skip to content

Commit

Permalink
Followup to ea00b36; only replace Q_WS_X11 with Q_OS_UNIX for non-Mac
Browse files Browse the repository at this point in the history
- QgsMapToolOffsetCurve fix not needed, works OK on Mac
  • Loading branch information
dakcarto committed Feb 19, 2015
1 parent ad86ffe commit c89688a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/main.cpp
Expand Up @@ -606,7 +606,7 @@ int main( int argc, char *argv[] )
// Initialise the application and the translation stuff
/////////////////////////////////////////////////////////////////////

#ifdef Q_OS_UNIX
#if defined(Q_OS_UNIX) && !defined(Q_OS_MAC)
bool myUseGuiFlag = getenv( "DISPLAY" ) != 0;
#else
bool myUseGuiFlag = true;
Expand Down
2 changes: 1 addition & 1 deletion src/app/qgisappstylesheet.cpp
Expand Up @@ -262,7 +262,7 @@ void QgisAppStyleSheet::setActiveValues()
#endif

// window servers
#ifdef Q_OS_UNIX
#if defined(Q_OS_UNIX) && !defined(Q_OS_MAC)
mX11WS = true;
#else
mX11WS = false;
Expand Down

0 comments on commit c89688a

Please sign in to comment.