Implement Keybinds (#57)

This commit is contained in:
Malte Jürgens
2022-10-10 19:50:26 +00:00
committed by GitHub
parent 3740553aba
commit dd2beed4eb
10 changed files with 212 additions and 33 deletions

View File

@@ -15,6 +15,7 @@ class MainWindow : public QMainWindow {
public:
explicit MainWindow(QWidget *parent = nullptr);
static MainWindow *instance();
private:
void setupWebView();
@@ -23,6 +24,7 @@ private:
DiscordPage *m_discordPage;
void closeEvent(QCloseEvent *event) override;
bool m_wasMaximized;
static MainWindow *m_instance;
private Q_SLOTS:
void fullScreenRequested(QWebEngineFullScreenRequest fullScreenRequest);