aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorFelix (xq) Queißner <git@mq32.de>2020-06-28 13:11:00 +0200
committerFelix (xq) Queißner <git@mq32.de>2020-06-28 13:11:00 +0200
commit0b524b7c2d0890809cc1dc835037fa1ea6674051 (patch)
treea45ec977ccdb36bfb46bfaea45d3f71247336178 /src/mainwindow.cpp
parent96754c53b4ff0d54f4d6c95a7c25186c58886a78 (diff)
downloadkristall-0b524b7c2d0890809cc1dc835037fa1ea6674051.tar.gz
Fixes #25 and #23, starts to implement new config/cache directory system.
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 625fc3a..885b5b4 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -112,7 +112,9 @@ BrowserTab * MainWindow::addEmptyTab(bool focus_new, bool load_default)
}
if(load_default) {
- tab->navigateTo(QUrl(global_options.start_page), BrowserTab::DontPush);
+ tab->navigateTo(QUrl(global_options.start_page), BrowserTab::PushImmediate);
+ } else {
+ tab->navigateTo(QUrl("about:blank"), BrowserTab::DontPush);
}
return tab;