┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNate Graham <[email protected]>2019-08-25 10:36:26 -0600
committerNate Graham <[email protected]>2019-08-25 10:36:26 -0600
commit0c4f58328f1c72aee100a568b4315c1d5c91fdf0 (patch)
tree9de25e36202b4a405f30138b19c85395fcaea13d
parent9cd042a86c85eaf7722a50ec2747fa3d6690e0a7 (diff)
parent91709cb6fe61dbec300a8d51d3064a57d9f63f37 (diff)
Merge branch 'Applications/19.08'
-rw-r--r--src/main.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 10adfc638..8981b54bc 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -142,11 +142,6 @@ extern "C" Q_DECL_EXPORT int kdemain(int argc, char **argv)
return app.exec();
}
- if (splitView && urls.size() < 2) {
- // Split view does only make sense if we have at least 2 URLs
- urls.append(urls.last());
- }
-
if (!parser.isSet(QStringLiteral("new-window"))) {
if (Dolphin::attachToExistingInstance(urls, openFiles, splitView)) {
// Successfully attached to existing instance of Dolphin
@@ -159,6 +154,11 @@ extern "C" Q_DECL_EXPORT int kdemain(int argc, char **argv)
urls.append(Dolphin::homeUrl());
}
+ if (splitView && urls.size() < 2) {
+ // Split view does only make sense if we have at least 2 URLs
+ urls.append(urls.last());
+ }
+
DolphinMainWindow* mainWindow = new DolphinMainWindow();
if (openFiles) {