From: Kill Your TV Date: Fri, 12 Oct 2012 18:09:15 +0000 Subject: configs in homedir --- src/backend/Core.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/backend/Core.cpp b/src/backend/Core.cpp index 31003ad..f1834e4 100755 --- a/src/backend/Core.cpp +++ b/src/backend/Core.cpp @@ -33,13 +33,8 @@ CCore::CCore() { - if(QFile::exists(QApplication::applicationDirPath()+"/UseHomeForConfigStore")==true){ - mConfigPath=QDesktopServices::storageLocation(QDesktopServices::HomeLocation); - mConfigPath+="/.I2P-Messenger"; - } - else{ - mConfigPath=QApplication::applicationDirPath(); - } + mConfigPath=QDesktopServices::storageLocation(QDesktopServices::HomeLocation); + mConfigPath+="/.I2P-Messenger"; mDebugMessageHandler= new CDebugMessageManager("General"); mSoundManager= new CSoundManager(mConfigPath);