diff --git a/src/messages/SharedMessageBuilder.cpp b/src/messages/SharedMessageBuilder.cpp index 1235af3c6..884ca5117 100644 --- a/src/messages/SharedMessageBuilder.cpp +++ b/src/messages/SharedMessageBuilder.cpp @@ -40,8 +40,7 @@ namespace { if (iterator == tags.end()) return QStringList{}; - return iterator.value().toString().split( - ',', QString::SplitBehavior::SkipEmptyParts); + return iterator.value().toString().split(',', Qt::SkipEmptyParts); } std::vector parseBadges(const QVariantMap &tags) diff --git a/src/providers/twitch/TwitchMessageBuilder.cpp b/src/providers/twitch/TwitchMessageBuilder.cpp index ed862ca4c..bcf938e61 100644 --- a/src/providers/twitch/TwitchMessageBuilder.cpp +++ b/src/providers/twitch/TwitchMessageBuilder.cpp @@ -54,8 +54,7 @@ namespace { if (iterator == tags.end()) return QStringList{}; - return iterator.value().toString().split( - ',', QString::SplitBehavior::SkipEmptyParts); + return iterator.value().toString().split(',', Qt::SkipEmptyParts); } std::map parseBadgeInfos(const QVariantMap &tags)