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