diff options
Diffstat (limited to 'src/application.cpp')
-rw-r--r-- | src/application.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/application.cpp b/src/application.cpp index 63263278..d18c0231 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -391,11 +391,12 @@ RekonqView *Application::newView(const QUrl &url, RekonqWindow *window) #ifdef QT_DEBUG if (url.isEmpty()) view = new RekonqView_fake(window); - else #endif + + if (view == nullptr) for (const auto &plugin : m_plugins) { if (plugin->hasScheme(url.scheme())) { - view = plugin->interface()->view(url); + view = plugin->interface()->view(url.isEmpty() ? m_settings->value("homepage").toUrl() : url); break; } } |