Replace set[Plain]Text(QString()) with clear()

...where applicable. Shorter, faster, more semantic.

Change-Id: Ifb1cf200f489f62a79e12c761e98a846992744dc
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
Alessandro Portale
2014-07-23 09:53:06 +02:00
committed by hjk
parent cf8a614419
commit 17ce7d4ad5
17 changed files with 27 additions and 27 deletions

View File

@@ -73,8 +73,8 @@ QString RemoteAdditionDialog::remoteUrl() const
void RemoteAdditionDialog::clear()
{
m_ui->nameEdit->setText(QString());
m_ui->urlEdit->setText(QString());
m_ui->nameEdit->clear();
m_ui->urlEdit->clear();
}
// --------------------------------------------------------------------------