chore: replace foreach macro

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97
2025-05-14 09:55:55 +03:00
parent 198fbd19cf
commit bbfaaef31d
4 changed files with 8 additions and 8 deletions

View File

@@ -166,7 +166,7 @@ void MacSparkleUpdater::setAllowedChannels(const QSet<QString>& channels) {
QString channelsConfig = "";
// Convert QSet<QString> -> NSSet<NSString>
NSMutableSet<NSString*>* nsChannels = [NSMutableSet setWithCapacity:channels.count()];
foreach (const QString channel, channels) {
for (const QString channel : channels) {
[nsChannels addObject:channel.toNSString()];
channelsConfig += channel + " ";
}