mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-26 18:14:22 +00:00
303842a19e
Fun little thing for hiding extra debug options in the future.
18 lines
215 B
C++
18 lines
215 B
C++
#pragma once
|
|
|
|
#include <QKeyEvent>
|
|
|
|
class KonamiCode : public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
KonamiCode(QObject *parent = 0);
|
|
void input(QEvent *event);
|
|
|
|
signals:
|
|
void triggered();
|
|
|
|
private:
|
|
int m_progress = 0;
|
|
};
|