]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/main.cpp
SVN_SILENT made messages (.desktop file) - always resolve ours
[dolphin.git] / src / main.cpp
index 76b482688a411b63b7008d12e4847194b03bc039..6e9ef0b2a6dce729aecb29f5a641618aa7f950c5 100644 (file)
@@ -202,7 +202,11 @@ int main(int argc, char **argv)
                 // If the user passed any URLs to Dolphin, open those in the
                 // window after session-restoring it
                 if (startedWithURLs) {
-                    mainWindow->openDirectories(urls, splitView);
+                    if (openFiles) {
+                        mainWindow->openFiles(urls, splitView);
+                    } else {
+                        mainWindow->openDirectories(urls, splitView);
+                    }
                 }
             } else {
                 qCWarning(DolphinDebug) << "Unknown class " << className << " in session saved data!";