Skip to content
Permalink
Browse files

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

… Android menus

- Brings back composer window menu bar
  • Loading branch information
dakcarto committed Sep 9, 2013
1 parent 6ef5829 commit 95a89d29a01e57a65b8b305996cc8f44c0e94f34
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/app/composer/qgscomposer.cpp
@@ -374,6 +374,12 @@ QgsComposer::QgsComposer( QgisApp *qgis, const QString& title )
{
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()

0 comments on commit 95a89d2

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