mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-15 09:36:23 -04:00
Fixed some more utf8 issues with umlauts in the Windows user name.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4636 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
7e3a342a9a
commit
7a98e83df1
4 changed files with 7 additions and 8 deletions
|
@ -34,7 +34,7 @@
|
|||
#include "gui/style/RSStyle.h"
|
||||
|
||||
/** The file in which all settings of he peers will read and written. */
|
||||
#define SETTINGS_FILE (RsInit::RsProfileConfigDirectory() + "/RSPeers.conf")
|
||||
#define SETTINGS_FILE (QString::fromUtf8(RsInit::RsProfileConfigDirectory().c_str()) + "/RSPeers.conf")
|
||||
|
||||
/* clean dead gpg id's after these days */
|
||||
#define DAYS_TO_CLEAN 7
|
||||
|
@ -54,7 +54,7 @@ RsharePeerSettings *PeerSettings = NULL;
|
|||
|
||||
/** Default Constructor */
|
||||
RsharePeerSettings::RsharePeerSettings()
|
||||
: QSettings(QString::fromStdString(SETTINGS_FILE), QSettings::IniFormat)
|
||||
: QSettings(SETTINGS_FILE, QSettings::IniFormat)
|
||||
{
|
||||
cleanDeadGpgIds();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue