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

disable css interitance in setpassworddialog

This commit is contained in:
agilob 2015-03-16 18:03:14 +00:00
parent b60cfef749
commit 209f8a19ba
No known key found for this signature in database
GPG Key ID: 34568050DBCCB997

View File

@ -80,9 +80,9 @@ bool PrivacyForm::setChatLogsPassword()
body += "\n\n" + tr("It appears you have an unused encrypted chat history; if the password matches, it will be added to your current history.");
if (core->isPasswordSet(Core::ptMain))
dialog = new SetPasswordDialog(body, tr("Use data file password", "pushbutton text"), this);
dialog = new SetPasswordDialog(body, tr("Use data file password", "pushbutton text"), 0);
else
dialog = new SetPasswordDialog(body, QString(), this);
dialog = new SetPasswordDialog(body, QString(), 0);
do {
int r = dialog->exec();
@ -203,9 +203,9 @@ bool PrivacyForm::setToxPassword()
SetPasswordDialog* dialog;
QString body = tr("Please set your new data file password.");
if (core->isPasswordSet(Core::ptHistory))
dialog = new SetPasswordDialog(body, tr("Use chat history password", "pushbutton text"), this);
dialog = new SetPasswordDialog(body, tr("Use chat history password", "pushbutton text"), 0);
else
dialog = new SetPasswordDialog(body, QString(), this);
dialog = new SetPasswordDialog(body, QString(), 0);
if (int r = dialog->exec())
{