summaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-06-03 19:00:44 -0400
committerisanae <14251494+isanae@users.noreply.github.com>2019-06-03 19:00:44 -0400
commit254304217d6cb00cbedf13f8c493dc6c80e11e24 (patch)
treebf638887c919d12301f15b6d911d89baf6450b82 /src/mainwindow.h
parent97026b4da03dbb9dda460c6046aaa09a23a927bf (diff)
renamed some of the menus to remove underscores
added Run menu with shortcuts, only visible when there are shortcuts to show fixed menubar visibility not being remembered
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index 09aeb044..4847d65c 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -211,7 +211,7 @@ private:
void createHelpMenu();
void createEndorseMenu();
- void updateToolBar();
+ void updatePinnedExecutables();
void setToolbarSize(const QSize& s);
void setToolbarButtonStyle(Qt::ToolButtonStyle s);
void toolbarMenu_aboutToShow();
@@ -324,6 +324,10 @@ private:
bool m_WasVisible;
+ // this has to be remembered because by the time storeSettings() is called,
+ // the window is closed and the menubar is hidden
+ bool m_menuBarVisible;
+
MOBase::TutorialControl m_Tutorial;
int m_OldProfileIndex;