summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-10-24 21:13:05 +0200
committerMontel Laurent <[email protected]>2017-10-24 21:13:05 +0200
commita4073493b8f0e14f4758be7f6c044b89a9446f88 (patch)
tree8a7ae5e2e556f3b52cf120a702d86650d831406a
parentd0a76cddfdb8902217e3248925f7fcc849c9c838 (diff)
Add parent
-rw-r--r--resources/imap/settingspasswordrequester.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/imap/settingspasswordrequester.cpp b/resources/imap/settingspasswordrequester.cpp
index 7e7bfc2..ca2154d 100644
--- a/resources/imap/settingspasswordrequester.cpp
+++ b/resources/imap/settingspasswordrequester.cpp
@@ -71,7 +71,7 @@ void SettingsPasswordRequester::askUserInput(const QString &serverError)
"%1", serverError, m_resource->name());
QDialog *dialog = new QDialog(parent, Qt::Dialog);
dialog->setWindowTitle(i18n("Could Not Authenticate"));
- QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Cancel | QDialogButtonBox::No | QDialogButtonBox::Yes);
+ QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Cancel | QDialogButtonBox::No | QDialogButtonBox::Yes, dialog);
buttonBox->button(QDialogButtonBox::Yes)->setDefault(true);
buttonBox->button(QDialogButtonBox::Yes)->setText(i18n("Account Settings"));