diff options
author | aqua <aqua@iserlohn-fortress.net> | 2022-08-28 08:46:08 +0300 |
---|---|---|
committer | aqua <aqua@iserlohn-fortress.net> | 2022-09-05 23:07:42 +0300 |
commit | 5e4b608751dca63d19c334ddb332b4e19741d175 (patch) | |
tree | 2b238e50b2f1921c20c78b492f82ef26272c93cd /src/application_instance.cpp | |
parent | Add placeholder menus to main window (diff) | |
download | rekonq-5e4b608751dca63d19c334ddb332b4e19741d175.tar.xz |
Remove source_location
Diffstat (limited to 'src/application_instance.cpp')
-rw-r--r-- | src/application_instance.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/application_instance.cpp b/src/application_instance.cpp index a82e9a72..8c744d10 100644 --- a/src/application_instance.cpp +++ b/src/application_instance.cpp @@ -9,7 +9,6 @@ * ============================================================ */ #include "application.hpp" -#include "rsettings.hpp" #include <QCommandLineParser> static const char *description = "A lightweight Web Browser based on Qt WebEngine"; @@ -50,7 +49,7 @@ void Application::parseCommandLine(quint32 instanceId, const QByteArray &message else { // create main window auto *window = newWindow(); - if (positionalArguments.isEmpty()) newView(m_settings->value("homepage").toUrl(), window); + if (positionalArguments.isEmpty()) newView(QUrl(), window); else for (const auto &url : positionalArguments) newView(QUrl::fromUserInput(url), window); } |