1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix(core): don't continue when the tox file is corrupted

This commit is contained in:
sudden6 2017-03-31 09:45:33 +02:00
parent 8028281069
commit 20db8b740b
No known key found for this signature in database
GPG Key ID: 279509B499E032B9

View File

@ -180,8 +180,9 @@ void Core::makeTox(QByteArray savedata)
break;
case TOX_ERR_NEW_LOAD_BAD_FORMAT:
qWarning() << "failed to parse Tox save data";
break;
qCritical() << "failed to parse Tox save data";
emit failedToStart();
return;
case TOX_ERR_NEW_PORT_ALLOC:
if (Settings::getInstance().getEnableIPv6()) {