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
This commit is contained in:
Peter Penz 2007-12-16 12:23:49 +00:00
parent 58d37b2331
commit 7122f99d75

View 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