Qt6 compatability changes

This commit is contained in:
Nav
2021-08-18 22:51:15 +01:00
parent 29ab3aa3b8
commit 01c20339f3
7 changed files with 16 additions and 14 deletions

View File

@@ -25,8 +25,8 @@ void SupportedFeaturesQuery::init() {
auto featureString = featureList.at(i);
// We only care about supported features. Supported features will precede a '+' character.
if (featureString[featureString.size() - 1] == "+") {
featureString.remove("+");
if (featureString[featureString.size() - 1] == '+') {
featureString.remove('+');
auto feature = gdbFeatureMapping.valueAt(featureString.toStdString());
if (feature.has_value()) {