From kde-commits Sun Apr 05 12:52:55 2009 From: =?utf-8?q?Sebastian=20K=C3=BCgler?= Date: Sun, 05 Apr 2009 12:52:55 +0000 To: kde-commits Subject: KDE/kdepim/akonadi/resources/microblog Message-Id: <1238935975.584359.11395.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=123893599330780 SVN commit 949487 by sebas: Enable the test button when the username is pre-filled into the form M +1 -1 configdialog.cpp --- trunk/KDE/kdepim/akonadi/resources/microblog/configdialog.cpp #949486:949487 @@ -46,7 +46,7 @@ ui.kcfg_Name->setText( usersName ); } setButtons( KDialog::Ok | KDialog::Cancel ); - ui.testButton->setEnabled(false); + ui.testButton->setEnabled(!ui.kcfg_Name->text().isEmpty()); connect( ui.testButton, SIGNAL( clicked() ), SLOT( slotTestClicked() ) ); connect( ui.kcfg_UserName, SIGNAL(textChanged(const QString&)), SLOT(slotTextChanged(const QString&))); connect( ui.openidLabel, SIGNAL( linkActivated ( const QString & ) ), SLOT( slotLinkClicked() ) );