mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Fix portable mode settings loading
Fixes partially #1883, avatars still don't carry over.
This commit is contained in:
parent
e15c32ad2b
commit
54c837a03e
|
@ -93,7 +93,6 @@ void Settings::loadGlobal()
|
|||
return;
|
||||
|
||||
createSettingsDir();
|
||||
QDir dir(getSettingsDirPath());
|
||||
|
||||
if (QFile(globalSettingsFile).exists())
|
||||
{
|
||||
|
@ -107,6 +106,7 @@ void Settings::loadGlobal()
|
|||
makeToxPortable = false;
|
||||
}
|
||||
|
||||
QDir dir(getSettingsDirPath());
|
||||
QString filePath = dir.filePath(globalSettingsFile);
|
||||
|
||||
// If no settings file exist -- use the default one
|
||||
|
|
Loading…
Reference in New Issue
Block a user