Skip to content

Commit 52fe2de

Browse files
committedMar 31, 2015
Set useGui on Android
1 parent b3e5544 commit 52fe2de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/app/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ int main( int argc, char *argv[] )
606606
// Initialise the application and the translation stuff
607607
/////////////////////////////////////////////////////////////////////
608608

609-
#if defined(Q_OS_UNIX) && !defined(Q_OS_MAC)
609+
#if defined(Q_OS_UNIX) && !defined(Q_OS_MAC) && !defined(ANDROID)
610610
bool myUseGuiFlag = getenv( "DISPLAY" ) != 0;
611611
#else
612612
bool myUseGuiFlag = true;

0 commit comments

Comments
 (0)
Please sign in to comment.