Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[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 Sep 9, 2013
1 parent 71558e6 commit 6ef5829
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/app/main.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 6ef5829

Please sign in to comment.