diff options
author | hjk <hjk@qt.io> | 2019-01-15 15:25:45 +0100 |
---|---|---|
committer | hjk <hjk@qt.io> | 2019-01-16 09:48:29 +0000 |
commit | 9c23e37f5dec9c9d73334cf91435b9bcbbccaf62 (patch) | |
tree | 400841814d45200f51044d233dea6e4ce2acc96b /src/plugins/cpptools/compileroptionsbuilder.cpp | |
parent | 54385ad67be075ac14d0edae5c451ed3d925edc8 (diff) | |
download | qt-creator-9c23e37f5dec9c9d73334cf91435b9bcbbccaf62.tar.gz |
ProjectExplorer: Simplify DeployConfigFactory::availableBuildTargets
It only ever returned either an empty list, or a list with a single
empty string. Using a bool return value to distiguish the cases is
less convoluted.
This is a leftover from the time when a DeployConfigurationFactory
could potentially create more than on DeployConfiguration, but this
is not supported anymore, as factories are cheap nowadays.
Change-Id: I4f2a91d3509d2b978949211ee709863d5ff460c7
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/cpptools/compileroptionsbuilder.cpp')
0 files changed, 0 insertions, 0 deletions