29 lines
903 B
Diff
29 lines
903 B
Diff
From: Kill Your TV <killyourtv@mail.i2p>
|
|
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);
|