diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/application.cpp | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/src/application.cpp b/src/application.cpp index 0e31002c..412999d8 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -140,7 +140,22 @@ int Application::newInstance() } else // rekonq has just been started. Just open a new window { - loadUrl(KUrl("about:home") , Rekonq::NewWindow); + switch (ReKonfig::newTabsBehaviour()) + { + case 0: // new tab page + loadUrl(KUrl("about:home") , Rekonq::NewWindow); + break; + case 1: // blank page + loadUrl(KUrl("about:blank") , Rekonq::NewWindow); + break; + case 2: // homepage + loadUrl(KUrl(ReKonfig::homePage()) , Rekonq::NewWindow); + break; + default: + loadUrl(KUrl("about:blank") , Rekonq::NewWindow); + break; + } + } } else |