]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Only browse through zip and tar files if they are local (otherwise a cryptic error...
authorPeter Penz <peter.penz19@gmail.com>
Sun, 16 Dec 2007 12:23:49 +0000 (12:23 +0000)
committerPeter Penz <peter.penz19@gmail.com>
Sun, 16 Dec 2007 12:23:49 +0000 (12:23 +0000)
BUG: 153985
CCMAIL: faure@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=749059

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);
 
     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
 
         // allow to browse through ZIP and tar files
         // TODO: make this configurable for Dolphin in KDE 4.1