diff options
| author | Mike Skec <skec@protonmail.ch> | 2021-03-17 16:01:52 +1100 |
|---|---|---|
| committer | Felix Queißner <felix@ib-queissner.de> | 2021-03-17 09:49:58 +0100 |
| commit | 1f8ecb6d05976e6dc8be01ba1a6f3068ed351971 (patch) | |
| tree | beacfe2d91914136d08690b583398e6497314e47 /src/mainwindow.hpp | |
| parent | 489512210b80e0bb441df27ead735722c9c68da2 (diff) | |
| download | kristall-1f8ecb6d05976e6dc8be01ba1a6f3068ed351971.tar.gz | |
sessions: add 'lazyloading' for restored tabs
Diffstat (limited to 'src/mainwindow.hpp')
| -rw-r--r-- | src/mainwindow.hpp | 5 |
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; |
