diff options
author | Simon Rettberg | 2019-03-14 15:18:46 +0100 |
---|---|---|
committer | Simon Rettberg | 2019-03-14 15:18:46 +0100 |
commit | b219209e1eec5b6519f5902f44d56f77525a2286 (patch) | |
tree | f9ace60fb059821b2632c5c27ab7d26f8a42c57a /src/slxbrowser.h | |
parent | SLXbrowser -> SlxBrowser (diff) | |
download | slxbrowser-b219209e1eec5b6519f5902f44d56f77525a2286.tar.gz slxbrowser-b219209e1eec5b6519f5902f44d56f77525a2286.tar.xz slxbrowser-b219209e1eec5b6519f5902f44d56f77525a2286.zip |
Don't reload (--reload-interval) if browser is being used
Diffstat (limited to 'src/slxbrowser.h')
-rw-r--r-- | src/slxbrowser.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/slxbrowser.h b/src/slxbrowser.h index 2c14465..16c5da2 100644 --- a/src/slxbrowser.h +++ b/src/slxbrowser.h @@ -27,6 +27,7 @@ class SlxBrowser : public QMainWindow public: SlxBrowser(BrowserSettings settings); virtual ~SlxBrowser(); + void activity() { _activity = true; } private slots: void loadStarted(); @@ -46,6 +47,9 @@ private: QList<QSslError> _sslErrors; QString _normalError; qint64 _lastPageLoad; + bool _activity; + qint64 _lastActivity; + bool _pageValid; }; #endif /* SLXBROWSER_H_ */ |