mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
oops
This commit is contained in:
parent
f21d8d50b7
commit
97f107e7f5
2
core.cpp
2
core.cpp
|
@ -909,7 +909,7 @@ void Core::saveConfiguration()
|
||||||
Settings::getInstance().setCurrentProfile(profile);
|
Settings::getInstance().setCurrentProfile(profile);
|
||||||
}
|
}
|
||||||
|
|
||||||
QString path = dir + profile + TOX_EXT;
|
QString path = dir + '/' + profile + TOX_EXT;
|
||||||
QFileInfo info(path);
|
QFileInfo info(path);
|
||||||
if (!info.exists()) // fall back to old school 'data'
|
if (!info.exists()) // fall back to old school 'data'
|
||||||
{ //path = dir + '/' + CONFIG_FILE_NAME;
|
{ //path = dir + '/' + CONFIG_FILE_NAME;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user