diff options
author | Petr Mrázek <peterix@gmail.com> | 2018-03-15 09:27:45 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2018-03-15 09:27:45 +0100 |
commit | 303842a19e4893e4ac6784d60aca990b4276d0ec (patch) | |
tree | 6dcaffa82816bfa00e58c9e824be9d69cd2f0102 /application/MainWindow.h | |
parent | ea151ca9d4124851e96553699cee1c2832c10b8f (diff) | |
download | MultiMC-303842a19e4893e4ac6784d60aca990b4276d0ec.tar MultiMC-303842a19e4893e4ac6784d60aca990b4276d0ec.tar.gz MultiMC-303842a19e4893e4ac6784d60aca990b4276d0ec.tar.lz MultiMC-303842a19e4893e4ac6784d60aca990b4276d0ec.tar.xz MultiMC-303842a19e4893e4ac6784d60aca990b4276d0ec.zip |
NOISSUE Add Konami Code
Fun little thing for hiding extra debug options in the future.
Diffstat (limited to 'application/MainWindow.h')
-rw-r--r-- | application/MainWindow.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/application/MainWindow.h b/application/MainWindow.h index e4c281dc..25dc36ed 100644 --- a/application/MainWindow.h +++ b/application/MainWindow.h @@ -38,6 +38,7 @@ class MinecraftLauncher; class BaseProfilerFactory; class GroupView; class ServerStatus; +class KonamiCode; class MainWindow : public QMainWindow { @@ -176,6 +177,8 @@ private slots: void droppedURLs(QList<QUrl> urls); + void konamiTriggered(); + private: void addInstance(QString url = QString()); void activateInstance(InstancePtr instance); @@ -200,6 +203,7 @@ private: ServerStatus *m_statusRight = nullptr; QMenu *accountMenu = nullptr; QToolButton *accountMenuButton = nullptr; + KonamiCode * secretEventFilter = nullptr; unique_qobject_ptr<NetJob> skin_download_job; unique_qobject_ptr<NewsChecker> m_newsChecker; |