diff options
author | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2015-11-27 11:31:35 +0100 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2015-12-02 14:49:17 +0000 |
commit | 4b0a8648e4e1a2001367442525b4d57f92b61bd8 (patch) | |
tree | f9ddd96378b8077daa2be1e3c3d5beeba943a33b /src/plugins/qnx/qnxqtversion.cpp | |
parent | 19ee414446aae4dc65022e2c7c364a37c98c4f80 (diff) | |
download | qt-creator-4b0a8648e4e1a2001367442525b4d57f92b61bd8.tar.gz |
FeatureProvider: Remove Feature and FeatureSet
Use Core::Id for Feature and QSet<Core::Id> for FeatureSet.
Change-Id: I12341036bd9eaa82589d92bd3f7d21f2e6b737bd
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
Diffstat (limited to 'src/plugins/qnx/qnxqtversion.cpp')
-rw-r--r-- | src/plugins/qnx/qnxqtversion.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/qnx/qnxqtversion.cpp b/src/plugins/qnx/qnxqtversion.cpp index 95fa5f871f..733251945b 100644 --- a/src/plugins/qnx/qnxqtversion.cpp +++ b/src/plugins/qnx/qnxqtversion.cpp @@ -76,12 +76,12 @@ QString QnxQtVersion::description() const return QCoreApplication::translate("Qnx::Internal::QnxQtVersion", "QNX %1").arg(archString()); } -Core::FeatureSet QnxQtVersion::availableFeatures() const +QSet<Core::Id> QnxQtVersion::availableFeatures() const { - Core::FeatureSet features = QtSupport::BaseQtVersion::availableFeatures(); - features |= Core::FeatureSet(Constants::QNX_QNX_FEATURE); - features.remove(Core::Feature(QtSupport::Constants::FEATURE_QT_CONSOLE)); - features.remove(Core::Feature(QtSupport::Constants::FEATURE_QT_WEBKIT)); + QSet<Core::Id> features = QtSupport::BaseQtVersion::availableFeatures(); + features.insert(Constants::QNX_QNX_FEATURE); + features.remove(QtSupport::Constants::FEATURE_QT_CONSOLE); + features.remove(QtSupport::Constants::FEATURE_QT_WEBKIT); return features; } |