diff options
author | Christian Stenger <christian.stenger@qt.io> | 2018-05-03 08:29:57 +0200 |
---|---|---|
committer | Christian Stenger <christian.stenger@qt.io> | 2018-05-03 06:37:09 +0000 |
commit | 8559df7bc94a496c295845a14556788fd130ca49 (patch) | |
tree | 7c8d57a55178eb270398d531615887b58cfc5ce5 /src/plugins/remotelinux/remotelinuxrunconfiguration.cpp | |
parent | fea16708b7d95b138463eedd32e1a49844232be5 (diff) | |
download | qt-creator-8559df7bc94a496c295845a14556788fd130ca49.tar.gz |
RemoteLinux: BareMetal: Fix history completer
History completers need a respective key to work properly
and become restorable.
This patch avoids some soft asserts and warnings regarding
empty settings keys.
Change-Id: I7d24d738b29167b7ab9714b4c6d54dbc1f7e1181
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/remotelinux/remotelinuxrunconfiguration.cpp')
-rw-r--r-- | src/plugins/remotelinux/remotelinuxrunconfiguration.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/remotelinux/remotelinuxrunconfiguration.cpp b/src/plugins/remotelinux/remotelinuxrunconfiguration.cpp index 981c031d9b..2f16858b68 100644 --- a/src/plugins/remotelinux/remotelinuxrunconfiguration.cpp +++ b/src/plugins/remotelinux/remotelinuxrunconfiguration.cpp @@ -52,6 +52,7 @@ RemoteLinuxRunConfiguration::RemoteLinuxRunConfiguration(Target *target, Core::I exeAspect->setPlaceHolderText(tr("Remote path not set")); exeAspect->makeOverridable("RemoteLinux.RunConfig.AlternateRemoteExecutable", "RemoteLinux.RunConfig.UseAlternateRemoteExecutable"); + exeAspect->setHistoryCompleter("RemoteLinux.AlternateExecutable.History"); addExtraAspect(exeAspect); auto symbolsAspect = new SymbolFileAspect(this); |