X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/f11c699fa203dd2cde0e85c63a6d186e3fa6a3de..1d2e10bcb220ed4505ba322b11e21dbd06d1f4b7:/src/viewproperties.cpp diff --git a/src/viewproperties.cpp b/src/viewproperties.cpp index 30346a862..b46ecb87e 100644 --- a/src/viewproperties.cpp +++ b/src/viewproperties.cpp @@ -59,7 +59,8 @@ ViewProperties::ViewProperties(const KUrl& url) : m_filepath = cleanUrl.path(); if ((m_filepath.length() < 1) || (m_filepath.at(0) != QChar('/'))) { - m_node = new ViewPropertySettings(); + const QString file = destinationDir("global") + FILE_NAME; + m_node = new ViewPropertySettings(KSharedConfig::openConfig(file)); return; } @@ -79,7 +80,7 @@ ViewProperties::ViewProperties(const KUrl& url) : m_filepath = destinationDir("remote") + m_filepath; } - const QString file(m_filepath + FILE_NAME); + const QString file = m_filepath + FILE_NAME; m_node = new ViewPropertySettings(KSharedConfig::openConfig(file)); const bool useDefaultProps = !useGlobalViewProps &&