From e12f0049687c84c24f0b7b737b65df2ed6a500a5 Mon Sep 17 00:00:00 2001 From: alwin Date: Tue, 01 Mar 2005 07:34:24 +0000 Subject: *** empty log message *** --- (limited to 'noncore/applets/keyhelper/keyhelperapplet/config') 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 @@ -20,7 +20,7 @@ bool KeycfgReader::load() file = cfg.readEntry("XmlFile"); if(file.length() == 0 || !QFile::exists(file)){ /* default */ - file = QDir::homeDirPath() + "/Settings/keyhelper.xml"; + file = QString(getenv( "HOME" )) + QString("/Settings/keyhelper.xml"); } return(load(file)); } -- cgit v0.9.0.2