Skip to content
Permalink
Browse files

Followup to ea00b36; only replace Q_WS_X11 with Q_OS_UNIX for non-Mac

- QgsMapToolOffsetCurve fix not needed, works OK on Mac
  • Loading branch information
dakcarto committed Feb 19, 2015
1 parent ad86ffe commit c89688a26f2200fd11cf2061cdc9f14c07129013
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/app/main.cpp
  2. +1 −1 src/app/qgisappstylesheet.cpp
@@ -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;
@@ -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;

0 comments on commit c89688a

Please sign in to comment.
You can’t perform that action at this time.