diff options
author | 2023-05-17 21:59:43 +0530 | |
---|---|---|
committer | 2023-05-17 21:59:43 +0530 | |
commit | 5f10a0f9657358fcd86c55ec065f3855bad0c160 (patch) | |
tree | 340f949dbe076db57bf62879ad150fabc884905a /src/webview.h | |
parent | b4b5dc3397966bea899bbb5ec0f756bb745dbff1 (diff) | |
download | whatsie-5f10a0f9657358fcd86c55ec065f3855bad0c160.tar.gz whatsie-5f10a0f9657358fcd86c55ec065f3855bad0c160.zip |
feat: minor fixes + code cleanup
Diffstat (limited to 'src/webview.h')
-rw-r--r-- | src/webview.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/webview.h b/src/webview.h index e03fa49..058341d 100644 --- a/src/webview.h +++ b/src/webview.h @@ -1,9 +1,10 @@ #ifndef WEBVIEW_H #define WEBVIEW_H -#include <QSettings> -#include <QWebEngineView> #include <QKeyEvent> +#include <QWebEngineView> + +#include "settingsmanager.h" class WebView : public QWebEngineView { Q_OBJECT @@ -13,13 +14,10 @@ public: protected: void contextMenuEvent(QContextMenuEvent *event) override; - -protected slots: - void wheelEvent(QWheelEvent *event); + void wheelEvent(QWheelEvent *event) override; private: - QStringList dictionaries; - QSettings settings; + QStringList m_dictionaries; }; #endif // WEBVIEW_H |