Navigation Menu

Skip to content

Commit

Permalink
[Android] Fix for Qt Ministro hiding app's menubar in favor of native…
Browse files Browse the repository at this point in the history
… Android menus

- Brings back composer window menu bar
  • Loading branch information
dakcarto committed Sep 9, 2013
1 parent 6ef5829 commit 95a89d2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/app/composer/qgscomposer.cpp
Expand Up @@ -374,6 +374,12 @@ QgsComposer::QgsComposer( QgisApp *qgis, const QString& title )
{ {
connect( QgsProject::instance(), SIGNAL( writeProject( QDomDocument& ) ), this, SLOT( writeXML( QDomDocument& ) ) ); connect( QgsProject::instance(), SIGNAL( writeProject( QDomDocument& ) ), this, SLOT( writeXML( QDomDocument& ) ) );
} }

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


QgsComposer::~QgsComposer() QgsComposer::~QgsComposer()
Expand Down

0 comments on commit 95a89d2

Please sign in to comment.