diff options
author | Sky <git@bunnies.cc> | 2013-11-27 22:39:49 +0000 |
---|---|---|
committer | Sky <git@bunnies.cc> | 2013-11-27 22:39:49 +0000 |
commit | 69d8ab16c58509bafb98694f9aa998ae51ff4b7f (patch) | |
tree | 8c2388fd0006c41ad2c0e47d567dff229a1d47b2 /gui/MainWindow.h | |
parent | 38732636d3c1f1563c2dceeae723fd51f7b5fda6 (diff) | |
download | MultiMC-69d8ab16c58509bafb98694f9aa998ae51ff4b7f.tar MultiMC-69d8ab16c58509bafb98694f9aa998ae51ff4b7f.tar.gz MultiMC-69d8ab16c58509bafb98694f9aa998ae51ff4b7f.tar.lz MultiMC-69d8ab16c58509bafb98694f9aa998ae51ff4b7f.tar.xz MultiMC-69d8ab16c58509bafb98694f9aa998ae51ff4b7f.zip |
Dropdown for account switching
Diffstat (limited to 'gui/MainWindow.h')
-rw-r--r-- | gui/MainWindow.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gui/MainWindow.h b/gui/MainWindow.h index 4e20d7cb..4191e590 100644 --- a/gui/MainWindow.h +++ b/gui/MainWindow.h @@ -148,6 +148,10 @@ slots: void activeAccountChanged(); + void changeActiveAccount(); + + void repopulateAccountsMenu(); + protected: bool eventFilter(QObject *obj, QEvent *ev); void setCatBackground(bool enabled); @@ -170,5 +174,7 @@ private: QLabel *m_statusLeft; QLabel *m_statusRight; - QToolButton *actionManageAccounts; + QMenu *accountMenu; + QToolButton *accountMenuButton; + QAction *manageAccountsAction; }; |