┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinviewcontainer.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-12-16 12:23:49 +0000
committerPeter Penz <[email protected]>2007-12-16 12:23:49 +0000
commit7122f99d7559a9750e0ce0784e665d9fb45e29a3 (patch)
tree95540e69b7fee16cf2f1764de77c0ac145093297 /src/dolphinviewcontainer.cpp
parent58d37b233177765b4908e2ab32413afe9fbd4da6 (diff)
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: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=749059
Diffstat (limited to 'src/dolphinviewcontainer.cpp')
-rw-r--r--src/dolphinviewcontainer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dolphinviewcontainer.cpp b/src/dolphinviewcontainer.cpp
index 95b0093cd..fff14578c 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