Skip to content
Permalink
Browse files

Set useGui on Android

  • Loading branch information
m-kuhn committed Mar 31, 2015
1 parent b3e5544 commit 52fe2dec83c1b9af7cac72b724de9bc552bd1a8f
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/main.cpp
@@ -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;

0 comments on commit 52fe2de

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