]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/viewproperties.cpp
Don't use a hardcoded path in the view properties dialog for the mirrored directory...
[dolphin.git] / src / viewproperties.cpp
index 25aa98e0e579d495755cf9893521a7a349e4b09f..7101bed29ab296b83ad73a71747237f74140a5a4 100644 (file)
@@ -195,6 +195,13 @@ void ViewProperties::save()
     m_changedProps = false;
 }
 
+KUrl ViewProperties::mirroredDirectory()
+{
+    QString basePath = KGlobal::mainComponent().componentName();
+    basePath.append("/view_properties/");
+    return KUrl(KStandardDirs::locateLocal("data", basePath));
+}
+
 QString ViewProperties::destinationDir(const QString& subDir) const
 {
     QString basePath = KGlobal::mainComponent().componentName();