From 7122f99d7559a9750e0ce0784e665d9fb45e29a3 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sun, 16 Dec 2007 12:23:49 +0000 Subject: [PATCH] Only browse through zip and tar files if they are local (otherwise a cryptic error message will occur). We really must make this behavior configurable in KDE 4.1 - I'd suggest that per default no browsing through zip and tar is done (with an option turning this on again) BUG: 153985 CCMAIL: faure@kde.org svn path=/trunk/KDE/kdebase/apps/; revision=749059 --- src/dolphinviewcontainer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dolphinviewcontainer.cpp b/src/dolphinviewcontainer.cpp index 95b0093cd8..fff14578cc 100644 --- a/src/dolphinviewcontainer.cpp +++ b/src/dolphinviewcontainer.cpp @@ -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