From 91851b436e7c623b54a19f8948b01b4dd28b50cc Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Wed, 19 May 2010 18:55:05 +0000 Subject: Disable the automatic error handling in the DolphinDirLister, the error message is shown in Dolphin instead. CCBUG: 229505 svn path=/trunk/KDE/kdebase/apps/; revision=1128599 --- src/viewproperties.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/viewproperties.cpp') diff --git a/src/viewproperties.cpp b/src/viewproperties.cpp index 9107828d6..1fa84f4a6 100644 --- a/src/viewproperties.cpp +++ b/src/viewproperties.cpp @@ -34,6 +34,8 @@ #include #include +#include + ViewProperties::ViewProperties(const KUrl& url) : m_changedProps(false), m_autoSave(true), @@ -45,7 +47,8 @@ ViewProperties::ViewProperties(const KUrl& url) : const QLatin1String fileName("/.directory"); - if ((m_filepath.length() < 1) || (!QDir::isAbsolutePath(m_filepath))) { + if ((m_filepath.length() < 1) || !QDir::isAbsolutePath(m_filepath)) { + kDebug() << "---- using global path: global/.directory"; const QString file = destinationDir("global") + fileName; m_node = new ViewPropertySettings(KSharedConfig::openConfig(file)); return; -- cgit v1.3