-void DolphinApplication::removeMainWindow(DolphinMainWindow* mainWindow)
-{
- m_mainWindows.removeAll(mainWindow);
-}
+ bool resetSplitSettings = false;
+ if (args->isSet("split") && !GeneralSettings::splitView()) {
+ // Dolphin should be opened with a split view although this is not
+ // set in the GeneralSettings. Temporary adjust the setting until
+ // all passed URLs have been opened.
+ GeneralSettings::setSplitView(true);
+ resetSplitSettings = true;