forked from qt-creator/qt-creator
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:
@@ -512,7 +512,7 @@ void SettingsDialog::currentChanged(const QModelIndex ¤t)
|
||||
showCategory(m_proxyModel->mapToSource(current).row());
|
||||
} else {
|
||||
m_stackedLayout->setCurrentIndex(0);
|
||||
m_headerLabel->setText(QString());
|
||||
m_headerLabel->clear();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user