diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2013-04-07 17:42:38 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2013-04-07 17:42:38 +0200 |
commit | de678704a0b62e2d6ddf6968f78c145b8e00b749 (patch) | |
tree | 56553dc088800f13c086e230737f11a70a74cab7 /src/application.cpp | |
parent | Add bool info in WebTab about being a web app (diff) | |
download | rekonq-de678704a0b62e2d6ddf6968f78c145b8e00b749.tar.xz |
Clean up url loading
Diffstat (limited to 'src/application.cpp')
-rw-r--r-- | src/application.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/application.cpp b/src/application.cpp index 3a76a6de..172a0e22 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -565,6 +565,11 @@ void Application::loadUrl(const KUrl& url, const Rekonq::OpenType& type) else { w = rekonqWindow(); + if (!w) + { + w = newWindow(); + newType = Rekonq::CurrentTab; + } } w->loadUrl(url, newType); |