author | zautrix <zautrix> | 2005-04-20 10:43:07 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-04-20 10:43:07 (UTC) |
commit | f23afbb9c09b4ee0f00af8f04ee4458181792cd0 (patch) (unidiff) | |
tree | 807bcaf329d257ec2a0c5c6e3a6afc7ab53a6078 /microkde/kglobalsettings.cpp | |
parent | 03f7f26ad34f50dd86f335c7c5a25a292d642793 (diff) | |
download | kdepimpi-f23afbb9c09b4ee0f00af8f04ee4458181792cd0.zip kdepimpi-f23afbb9c09b4ee0f00af8f04ee4458181792cd0.tar.gz kdepimpi-f23afbb9c09b4ee0f00af8f04ee4458181792cd0.tar.bz2 |
fixes
Diffstat (limited to 'microkde/kglobalsettings.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | microkde/kglobalsettings.cpp | 9 |
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 | |||
@@ -51,12 +51,21 @@ QString KGlobalSettings::timeTrackerDir() | |||
51 | if ( dir.isEmpty() ) { | 51 | if ( dir.isEmpty() ) { |
52 | dir = locateLocal( "data", "timetrackerdir/d.ttl" ); | 52 | dir = locateLocal( "data", "timetrackerdir/d.ttl" ); |
53 | dir = dir.left ( dir.length() - 5); | 53 | dir = dir.left ( dir.length() - 5); |
54 | } | 54 | } |
55 | return dir; | 55 | return dir; |
56 | } | 56 | } |
57 | QString KGlobalSettings::backupDataDir() | ||
58 | { | ||
59 | static QString dir; | ||
60 | if ( dir.isEmpty() ) { | ||
61 | dir = locateLocal( "data", "backupdir/d.ttl" ); | ||
62 | dir = dir.left ( dir.length() - 5); | ||
63 | } | ||
64 | return dir; | ||
65 | } | ||
57 | 66 | ||
58 | QFont KGlobalSettings::toolBarFont() | 67 | QFont KGlobalSettings::toolBarFont() |
59 | { | 68 | { |
60 | return QApplication::font(); | 69 | return QApplication::font(); |
61 | } | 70 | } |
62 | 71 | ||