+ if (!parser.isSet(QStringLiteral("new-window"))) {
+ if (Dolphin::attachToExistingInstance(urls, openFiles, splitView)) {
+ // Successfully attached to existing instance of Dolphin
+ return 0;
+ }
+ }
+
+ if (urls.isEmpty()) {
+ // We need at least one URL to open Dolphin
+ urls.append(Dolphin::homeUrl());
+ }
+