diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2015-12-26 21:47:16 +0200 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2016-01-21 10:12:10 +0000 |
commit | bf22f2306637aee7ab5ae9116dc895fbc906f224 (patch) | |
tree | ba886b10ccc0607b388a9f8980ade2237e532c1e /src/libs/utils/pathchooser.cpp | |
parent | 2cba6ed06cfd2f24a589d2116fa9114102b6d005 (diff) | |
download | qt-creator-bf22f2306637aee7ab5ae9116dc895fbc906f224.tar.gz |
TextEditor: Use PathChooser for FindInFiles
Change-Id: I17058cd41eec1cfea41ddbf2cae1a7c70a4e3a10
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Diffstat (limited to 'src/libs/utils/pathchooser.cpp')
-rw-r--r-- | src/libs/utils/pathchooser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/utils/pathchooser.cpp b/src/libs/utils/pathchooser.cpp index 5ffa90296a..f591f60538 100644 --- a/src/libs/utils/pathchooser.cpp +++ b/src/libs/utils/pathchooser.cpp @@ -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 |