From add671859d55f438503d539d04d07b1f3dc1fb3b Mon Sep 17 00:00:00 2001 From: Montel Laurent Date: Tue, 8 Apr 2014 23:26:28 +0200 Subject: [PATCH] Add clear text button --- identity/identitydialog.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/identity/identitydialog.cpp b/identity/identitydialog.cpp index 9756edcc3..c7416e7dd 100644 --- a/identity/identitydialog.cpp +++ b/identity/identitydialog.cpp @@ -197,7 +197,7 @@ IdentityDialog::IdentityDialog( QWidget * parent ) KPIMUtils::EmailValidator* emailValidator = new KPIMUtils::EmailValidator( this ); mEmailEdit->setValidator( emailValidator ); - // "Email Aliases" stsring text edit and label: + // "Email Aliases" string text edit and label: ++row; mAliasEdit = new PimCommon::SimpleStringListEditor( tab ); glay->addWidget( mAliasEdit, row, 1 ); @@ -373,6 +373,7 @@ IdentityDialog::IdentityDialog( QWidget * parent ) // "Reply-To Address" line edit and label: ++row; mReplyToEdit = new KPIM::AddresseeLineEdit( tab, true ); + mReplyToEdit->setClearButtonShown(true); mReplyToEdit->setObjectName( QLatin1String("mReplyToEdit") ); glay->addWidget( mReplyToEdit, row, 1 ); label = new QLabel ( i18n("&Reply-To address:"), tab ); @@ -396,6 +397,7 @@ IdentityDialog::IdentityDialog( QWidget * parent ) // "CC addresses" line edit and label: ++row; mCcEdit = new KPIM::AddresseeLineEdit( tab, true ); + mCcEdit->setClearButtonShown(true); mCcEdit->setObjectName( QLatin1String("mCcEdit") ); glay->addWidget( mCcEdit, row, 1 ); label = new QLabel( i18n("&CC addresses:"), tab ); @@ -416,6 +418,7 @@ IdentityDialog::IdentityDialog( QWidget * parent ) // "BCC addresses" line edit and label: ++row; mBccEdit = new KPIM::AddresseeLineEdit( tab, true ); + mBccEdit->setClearButtonShown(true); mBccEdit->setObjectName( QLatin1String("mBccEdit") ); glay->addWidget( mBccEdit, row, 1 ); label = new QLabel( i18n("&BCC addresses:"), tab );