fix: Settings reset on windows, create new profile dir when not in native mode
fixes: #8916
This commit is contained in:
@ -44,7 +44,7 @@ void clearSettings(bool enableRestart)
|
||||
profileDir.removeRecursively();
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
if (Settings::isNativeMode()) {
|
||||
if (!Settings::isNativeMode()) {
|
||||
// make a new empty portable settings file
|
||||
if (profileDir.mkpath(Settings::settingsPath())) {
|
||||
QFile file(Settings::settingsFile());
|
||||
|
||||
Reference in New Issue
Block a user