summaryrefslogtreecommitdiffabout
path: root/microkde/kglobalsettings.cpp
Side-by-side diff
Diffstat (limited to 'microkde/kglobalsettings.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--microkde/kglobalsettings.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/microkde/kglobalsettings.cpp b/microkde/kglobalsettings.cpp
index 5976aae..3f8a630 100644
--- a/microkde/kglobalsettings.cpp
+++ b/microkde/kglobalsettings.cpp
@@ -56,2 +56,11 @@ QString KGlobalSettings::timeTrackerDir()
}
+QString KGlobalSettings::backupDataDir()
+{
+ static QString dir;
+ if ( dir.isEmpty() ) {
+ dir = locateLocal( "data", "backupdir/d.ttl" );
+ dir = dir.left ( dir.length() - 5);
+ }
+ return dir;
+}