Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Set useGui on Android
  • Loading branch information
m-kuhn committed Mar 31, 2015
1 parent b3e5544 commit 52fe2de
Showing 1 changed file with 1 addition and 1 deletion.
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
/////////////////////////////////////////////////////////////////////

#if defined(Q_OS_UNIX) && !defined(Q_OS_MAC)
#if defined(Q_OS_UNIX) && !defined(Q_OS_MAC) && !defined(ANDROID)
bool myUseGuiFlag = getenv( "DISPLAY" ) != 0;
#else
bool myUseGuiFlag = true;
Expand Down

0 comments on commit 52fe2de

Please sign in to comment.