Skip to content

Commit 95a89d2

Browse files
committed
[Android] Fix for Qt Ministro hiding app's menubar in favor of native Android menus
- Brings back composer window menu bar
1 parent 6ef5829 commit 95a89d2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/app/composer/qgscomposer.cpp

+6
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,12 @@ QgsComposer::QgsComposer( QgisApp *qgis, const QString& title )
374374
{
375375
connect( QgsProject::instance(), SIGNAL( writeProject( QDomDocument& ) ), this, SLOT( writeXML( QDomDocument& ) ) );
376376
}
377+
378+
#if defined(ANDROID)
379+
// fix for Qt Ministro hiding app's menubar in favor of native Android menus
380+
menuBar()->setNativeMenuBar( false );
381+
menuBar()->setVisible( true );
382+
#endif
377383
}
378384

379385
QgsComposer::~QgsComposer()

0 commit comments

Comments
 (0)