aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.hpp
diff options
context:
space:
mode:
authorMike Skec <skec@protonmail.ch>2021-03-17 16:01:52 +1100
committerFelix Queißner <felix@ib-queissner.de>2021-03-17 09:49:58 +0100
commit1f8ecb6d05976e6dc8be01ba1a6f3068ed351971 (patch)
treebeacfe2d91914136d08690b583398e6497314e47 /src/mainwindow.hpp
parent489512210b80e0bb441df27ead735722c9c68da2 (diff)
downloadkristall-1f8ecb6d05976e6dc8be01ba1a6f3068ed351971.tar.gz
sessions: add 'lazyloading' for restored tabs
Diffstat (limited to 'src/mainwindow.hpp')
-rw-r--r--src/mainwindow.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mainwindow.hpp b/src/mainwindow.hpp
index f3e1442..4f482b8 100644
--- a/src/mainwindow.hpp
+++ b/src/mainwindow.hpp
@@ -31,7 +31,10 @@ public:
~MainWindow();
BrowserTab * addEmptyTab(bool focus_new, bool load_default);
- BrowserTab * addNewTab(bool focus_new, QUrl const & url, QString defaultTitle="");
+ BrowserTab * addNewTab(bool focus_new,
+ QUrl const & url,
+ bool lazyload=false,
+ QString defaultTitle="");
BrowserTab * curTab() const;
BrowserTab * tabAt(int index) const;
int tabCount() const;