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

- QgsMapToolOffsetCurve fix not needed, works OK on Mac
This commit is contained in:
Larry Shaffer 2015-02-19 00:31:11 -07:00
parent ad86ffe18a
commit c89688a26f
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;