Diffstat (limited to 'noncore/applets/keyhelper/keyhelperapplet/config') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/applets/keyhelper/keyhelperapplet/config/KeycfgReader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/applets/keyhelper/keyhelperapplet/config/KeycfgReader.cpp b/noncore/applets/keyhelper/keyhelperapplet/config/KeycfgReader.cpp index 44b4b2f..14e8a37 100644 --- a/noncore/applets/keyhelper/keyhelperapplet/config/KeycfgReader.cpp +++ b/noncore/applets/keyhelper/keyhelperapplet/config/KeycfgReader.cpp | |||
@@ -19,9 +19,9 @@ bool KeycfgReader::load() | |||
19 | 19 | ||
20 | file = cfg.readEntry("XmlFile"); | 20 | file = cfg.readEntry("XmlFile"); |
21 | if(file.length() == 0 || !QFile::exists(file)){ | 21 | if(file.length() == 0 || !QFile::exists(file)){ |
22 | /* default */ | 22 | /* default */ |
23 | file = QDir::homeDirPath() + "/Settings/keyhelper.xml"; | 23 | file = QString(getenv( "HOME" )) + QString("/Settings/keyhelper.xml"); |
24 | } | 24 | } |
25 | return(load(file)); | 25 | return(load(file)); |
26 | } | 26 | } |
27 | 27 | ||