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

@@ -429,7 +429,7 @@ void NewDialog::currentItemChanged(const QModelIndex &index)
}
} else {
m_ui->templateDescription->setText(QString());
m_ui->templateDescription->clear();
}
updateOkButton();
}