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:
parent
7f12c267e1
commit
21327fdaba
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user