Browse Source

oops

pull/260/head
Dubslow 11 years ago
parent
commit
97f107e7f5
  1. 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…
Cancel
Save