TextEditor: Use PathChooser for FindInFiles

Change-Id: I17058cd41eec1cfea41ddbf2cae1a7c70a4e3a10
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
Orgad Shaneh
2015-12-26 21:47:16 +02:00
committed by Orgad Shaneh
parent 2cba6ed06c
commit bf22f23066
6 changed files with 34 additions and 52 deletions

View File

@@ -714,9 +714,9 @@ void PathChooser::installLineEditVersionToolTip(QLineEdit *le, const QStringList
ef->setArguments(arguments);
}
void PathChooser::setHistoryCompleter(const QString &historyKey)
void PathChooser::setHistoryCompleter(const QString &historyKey, bool restoreLastItemFromHistory)
{
d->m_lineEdit->setHistoryCompleter(historyKey);
d->m_lineEdit->setHistoryCompleter(historyKey, restoreLastItemFromHistory);
}
QStringList PathChooser::commandVersionArguments() const