Summary:
BUG: 411193
FIXED-IN: 19.08.1
Test Plan:
Reproduce steps as given in bug report. Observe the exected result.
Used qdbusviewer and ShowFolders method to observe that no regressions occured
in the "open new folders in tabs" feature.
Reviewers: elvisangelaccio, ngraham
Subscribers: kfm-devel
Tags: #dolphin
Differential Revision: https://phabricator.kde.org/D23445
- 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
if (!parser.isSet(QStringLiteral("new-window"))) {
if (Dolphin::attachToExistingInstance(urls, openFiles, splitView)) {
// Successfully attached to existing instance of Dolphin
urls.append(Dolphin::homeUrl());
}
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) {
DolphinMainWindow* mainWindow = new DolphinMainWindow();
if (openFiles) {