From 1f01e5cce8cbed9eb2aab6a7e4413b75e0135118 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Wed, 22 Apr 2009 15:36:39 +0000 Subject: [PATCH] Minor optimization svn path=/branches/kdepim/enterprise/kdepim/; revision=957623 --- vacationdialog.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vacationdialog.cpp b/vacationdialog.cpp index b05f3fbf2..8fc26f9ab 100644 --- a/vacationdialog.cpp +++ b/vacationdialog.cpp @@ -168,9 +168,10 @@ namespace KMail { } void VacationDialog::setDomainName( const QString & domain ) { - mDomainEdit->setText( domain ); - if ( !domain.isEmpty() ) + if ( !domain.isEmpty() ) { + mDomainEdit->setText( domain ); mDomainCheck->setChecked( true ); + } } bool VacationDialog::sendForSpam() const {