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

warn only once on unecrypted file with encryption set

This commit is contained in:
Dubslow 2014-12-04 14:21:48 -06:00
parent 7f12c267e1
commit 21327fdaba
No known key found for this signature in database
GPG Key ID: 3DB8E05315C220AA

View File

@ -275,7 +275,8 @@ void Core::saveConfiguration(const QString& path)
if (!pwsaltedkeys[ptMain])
{
// probably zero chance event
Widget::getInstance()->showWarningMsgBox(tr("NO Password"), tr("Will be saved without encryption!"));
Widget::getInstance()->showWarningMsgBox(tr("NO Password"), tr("Encryption is enabled, but there is no password! Encryption will be disabled."));
Settings::getInstance().setEncryptTox(false);
tox_save(tox, data);
}
else