svn path=/trunk/KDE/kdebase/apps/; revision=
1063333
void DolphinMainWindow::openFiles(const QList<KUrl>& files)
{
void DolphinMainWindow::openFiles(const QList<KUrl>& files)
{
+ if (files.isEmpty()) {
+ return;
+ }
+
// Get all distinct directories from 'files' and open a tab
// for each directory. If the "split view" option is enabled, two
// directories are shown inside one tab (see openDirectories()).
// Get all distinct directories from 'files' and open a tab
// for each directory. If the "split view" option is enabled, two
// directories are shown inside one tab (see openDirectories()).