mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
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:
parent
ad86ffe18a
commit
c89688a26f
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user