aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.hpp')
-rw-r--r--src/mainwindow.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mainwindow.hpp b/src/mainwindow.hpp
index e207128..7984549 100644
--- a/src/mainwindow.hpp
+++ b/src/mainwindow.hpp
@@ -21,7 +21,7 @@ class MainWindow : public QMainWindow
Q_OBJECT
public:
- MainWindow(QWidget *parent = nullptr);
+ MainWindow(QApplication * app, QWidget *parent = nullptr);
~MainWindow();
BrowserTab * addEmptyTab(bool focus_new, bool load_default);
@@ -67,7 +67,11 @@ private slots:
void on_actionAbout_Qt_triggered();
+private:
+ void reloadTheme();
+
public:
+ QApplication * application;
QSettings settings;
GeminiStyle current_style;
ProtocolSetup protocols;