Skip to content
Permalink
Browse files

[Android] Fix for Qt Ministro hiding app's menubar in favor of native…

… Android menus

- Brings back main window menu bar
  • Loading branch information
dakcarto committed Jun 25, 2013
1 parent 71558e6 commit 6ef5829abf0e5b6cc21a689bbced33a919e16178
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/app/main.cpp
@@ -1097,6 +1097,12 @@ int main( int argc, char *argv[] )
delete mypSplash;

qgis->completeInitialization();

#if defined(ANDROID)
// fix for Qt Ministro hiding app's menubar in favor of native Android menus
qgis->menuBar()->setNativeMenuBar( false );
qgis->menuBar()->setVisible( true );
#endif

int retval = myApp.exec();
delete qgis;

0 comments on commit 6ef5829

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