fix: Get rid of warnings on clang-cl (#6528)
This commit is contained in:
+4
-1
@@ -306,7 +306,10 @@ void Args::applyCustomChannelLayout(const QString &argValue, const Paths &paths)
|
||||
|
||||
// Set first tab as selected
|
||||
tab.selected_ = window.tabs_.empty();
|
||||
tab.rootNode_ = SplitNodeDescriptor{{"twitch", channelName}};
|
||||
tab.rootNode_ = SplitNodeDescriptor{{
|
||||
.type_ = "twitch",
|
||||
.channelName_ = channelName,
|
||||
}};
|
||||
|
||||
window.tabs_.emplace_back(std::move(tab));
|
||||
}
|
||||
|
||||
@@ -33,6 +33,8 @@ void ChannelChatters::addJoinedUser(const QString &user, bool isMod,
|
||||
assertInGuiThread();
|
||||
|
||||
if (isIgnoredMessage(IgnoredMessageParameters{
|
||||
.message = {},
|
||||
.twitchUserID = {},
|
||||
.twitchUserLogin = user,
|
||||
.isMod = isMod,
|
||||
.isBroadcaster = isBroadcaster,
|
||||
@@ -69,6 +71,8 @@ void ChannelChatters::addPartedUser(const QString &user, bool isMod,
|
||||
assertInGuiThread();
|
||||
|
||||
if (isIgnoredMessage(IgnoredMessageParameters{
|
||||
.message = {},
|
||||
.twitchUserID = {},
|
||||
.twitchUserLogin = user,
|
||||
.isMod = isMod,
|
||||
.isBroadcaster = isBroadcaster,
|
||||
|
||||
Reference in New Issue
Block a user