Группа :: Безопасность/Сети
Пакет: I2P-Messenger
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: 0003-homedconfigs.patch
Скачать
Скачать
From: Kill Your TV <killyourtv@mail.i2p>
Date: Tue, 1 Feb 2011 22:48:27 +0200
Subject: [PATCH] homedconfigs
---
src/Core.cpp | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/src/Core.cpp b/src/Core.cpp
index b7abce1..e7452b9 100644
--- a/src/Core.cpp
+++ b/src/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);
--