mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-17 15:31:20 +00:00
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:
parent
58d37b2331
commit
7122f99d75
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue