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

@@ -211,7 +211,7 @@ void GeneralSettings::resetWarnings()
void GeneralSettings::resetTerminal()
{
if (HostOsInfo::isAnyUnixHost())
m_page->terminalComboBox->lineEdit()->setText(QString());
m_page->terminalComboBox->lineEdit()->clear();
}
void GeneralSettings::resetFileBrowser()