mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-19 16:31:21 +00:00
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
This commit is contained in:
parent
9279fb3ec7
commit
91851b436e
|
@ -1,5 +1,5 @@
|
|||
/***************************************************************************
|
||||
* Copyright (C) 2006-2009 by Peter Penz <peter.penz@gmx.at> *
|
||||
* Copyright (C) 2006-2010 by Peter Penz <peter.penz@gmx.at> *
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU General Public License as published by *
|
||||
|
@ -24,6 +24,7 @@
|
|||
DolphinDirLister::DolphinDirLister() :
|
||||
KDirLister()
|
||||
{
|
||||
setAutoErrorHandlingEnabled(false, 0);
|
||||
}
|
||||
|
||||
DolphinDirLister::~DolphinDirLister()
|
||||
|
|
|
@ -34,6 +34,8 @@
|
|||
#include <QFile>
|
||||
#include <QFileInfo>
|
||||
|
||||
#include <kdebug.h>
|
||||
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue