1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
This commit is contained in:
Dubslow 2014-09-05 05:06:35 -05:00
parent f21d8d50b7
commit 97f107e7f5

View File

@ -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;