From 303842a19e4893e4ac6784d60aca990b4276d0ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Thu, 15 Mar 2018 09:27:45 +0100 Subject: NOISSUE Add Konami Code Fun little thing for hiding extra debug options in the future. --- application/MainWindow.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'application/MainWindow.h') 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 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 skin_download_job; unique_qobject_ptr m_newsChecker; -- cgit v1.2.3