forked from qt-creator/qt-creator
Cleanup: Remove searchKeywords from optionspage widgets
If no specialization is provided then the UI strings are searched. So get rid of extra code collecting all those strings in a lot of places. Change-Id: Ibcb48a67e5c7b74e5960fe38b1cb2f74259b503a Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
@@ -448,21 +448,6 @@ ExternalToolConfig::~ExternalToolConfig()
|
||||
delete ui;
|
||||
}
|
||||
|
||||
QString ExternalToolConfig::searchKeywords() const
|
||||
{
|
||||
QString keywords;
|
||||
QTextStream(&keywords)
|
||||
<< ui->descriptionLabel->text()
|
||||
<< ui->executableLabel->text()
|
||||
<< ui->argumentsLabel->text()
|
||||
<< ui->workingDirectoryLabel->text()
|
||||
<< ui->outputLabel->text()
|
||||
<< ui->errorOutputLabel->text()
|
||||
<< ui->modifiesDocumentCheckbox->text()
|
||||
<< ui->inputLabel->text();
|
||||
return keywords;
|
||||
}
|
||||
|
||||
void ExternalToolConfig::setTools(const QMap<QString, QList<ExternalTool *> > &tools)
|
||||
{
|
||||
QMap<QString, QList<ExternalTool *> > toolsCopy;
|
||||
|
||||
Reference in New Issue
Block a user