forked from qt-creator/qt-creator
Device Support: Fix keyword search in settings widget.
- Add auto-detection label text. - Fix editing artifact that led to the ampersand character not being removed from the search string. Change-Id: I4221083e5a8d8ebfd66d9806cf96f9f6d9714d32 Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
This commit is contained in:
@@ -123,10 +123,9 @@ QString DeviceSettingsWidget::searchKeywords() const
|
||||
QString rc;
|
||||
QTextStream(&rc) << m_ui->configurationLabel->text()
|
||||
<< ' ' << m_ui->deviceNameLabel->text()
|
||||
<< ' ' << m_ui->nameLineEdit->text();
|
||||
if (m_configWidget)
|
||||
rc.remove(QLatin1Char('&'));
|
||||
return rc;
|
||||
<< ' ' << m_ui->nameLineEdit->text()
|
||||
<< ' ' << m_ui->autoDetectionKeyLabel->text();
|
||||
return rc.remove(QLatin1Char('&'));
|
||||
}
|
||||
|
||||
void DeviceSettingsWidget::initGui()
|
||||
|
Reference in New Issue
Block a user