]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinviewcontainer.cpp
The drag&drop helper did not make the difference between the different kind of views...
[dolphin.git] / src / dolphinviewcontainer.cpp
index 95b0093cd85a6887e2cb600f81c232cffff458ae..fff14578cc3e4f320e20040f23f26792897dfdc2 100644 (file)
@@ -397,7 +397,7 @@ void DolphinViewContainer::slotItemTriggered(const KFileItem& item)
 
     if (item.isDir()) {
         m_view->setUrl(url);
-    } else if (item.isFile()) {
+    } else if (item.isFile() && url.isLocalFile()) {
         // allow to browse through ZIP and tar files
         // TODO: make this configurable for Dolphin in KDE 4.1