aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/utils/historycompleter.cpp
diff options
context:
space:
mode:
authorhjk <hjk@theqtcompany.com>2015-03-27 13:52:10 +0100
committerhjk <hjk@theqtcompany.com>2015-03-27 13:23:05 +0000
commitf08af0d6dbe7688c6ce4fedbc83f2726e1b6e1c8 (patch)
tree230a229df4bf63cdf71fd2346a51d805b9d69573 /src/libs/utils/historycompleter.cpp
parent8fbe192124a477ffda471ee6f9377ad49cdb1d90 (diff)
Utils: Don't filter HistoryLineEdit popup
... and make the list accessible on <Down> even if the content of the line edit is not empty. Change-Id: Ib9fdd379dd9c96e2e0ddf58d9f6e9ec3d4374527 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Diffstat (limited to 'src/libs/utils/historycompleter.cpp')
-rw-r--r--src/libs/utils/historycompleter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libs/utils/historycompleter.cpp b/src/libs/utils/historycompleter.cpp
index 4cf055ae3c4..fcfb2905bbc 100644
--- a/src/libs/utils/historycompleter.cpp
+++ b/src/libs/utils/historycompleter.cpp
@@ -174,6 +174,7 @@ HistoryCompleter::HistoryCompleter(const QString &historyKey, QObject *parent)
{
QTC_ASSERT(!historyKey.isEmpty(), return);
QTC_ASSERT(theSettings, return);
+ setCompletionMode(QCompleter::UnfilteredPopupCompletion);
d->historyKey = QLatin1String("CompleterHistory/") + historyKey;
d->list = theSettings->value(d->historyKey).toStringList();