From 209f8a19bac826ee141db4cf35ee96683e2292ac Mon Sep 17 00:00:00 2001 From: agilob Date: Mon, 16 Mar 2015 18:03:14 +0000 Subject: [PATCH] disable css interitance in setpassworddialog --- src/widget/form/settings/privacyform.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/widget/form/settings/privacyform.cpp b/src/widget/form/settings/privacyform.cpp index 1ab5c4ae7..85942ad1e 100644 --- a/src/widget/form/settings/privacyform.cpp +++ b/src/widget/form/settings/privacyform.cpp @@ -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()) {