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

core: TOX_ERR_NEW_LOAD_BAD_FORMAT is non-fatal.

This fixes errors from save migrations between versions and architectures.
This commit is contained in:
Jookia 2015-07-12 23:58:40 +10:00
parent cfeeb03c5b
commit 7fab49d665

View File

@ -232,9 +232,8 @@ void Core::makeTox(QByteArray savedata)
emit failedToStart(); emit failedToStart();
return; return;
case TOX_ERR_NEW_LOAD_BAD_FORMAT: case TOX_ERR_NEW_LOAD_BAD_FORMAT:
qCritical() << "bad load data format"; qWarning() << "bad load data format";
emit failedToStart(); break;
return;
default: default:
qCritical() << "Tox core failed to start"; qCritical() << "Tox core failed to start";
emit failedToStart(); emit failedToStart();