mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-07-06 00:06:00 -04:00
Force creation of native menu bar when main window is shown
Native menu bar recreation is hooked up to the focusWindowChanged signal in QGuiApplication. Emittng this when the window is shown ensures that Qt creates the menubar at the correct time. Fixes gh2k/fractorium#1
This commit is contained in:
@ -302,6 +302,7 @@ protected:
|
||||
virtual void dragEnterEvent(QDragEnterEvent* e) override;
|
||||
virtual void dragMoveEvent(QDragMoveEvent* e) override;
|
||||
virtual void dropEvent(QDropEvent* e) override;
|
||||
virtual void showEvent(QShowEvent *e) override;
|
||||
|
||||
private:
|
||||
void InitMenusUI();
|
||||
|
Reference in New Issue
Block a user