msvc: updated code for higher warning level

This commit is contained in:
itsmattkc
2020-01-24 12:00:55 +11:00
parent 66ad2749af
commit 149d125e39
5 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -115,8 +115,8 @@ SequenceDialog::SequenceDialog(Sequence* s, Type t, QWidget* parent) :
// Set up available channel layouts
QList<uint64_t> channel_layouts = Core::SupportedChannelLayouts();
foreach (const uint64_t& layout, channel_layouts) {
audio_channels_field_->addItem(Core::ChannelLayoutToString(layout), QVariant::fromValue(layout));
foreach (const uint64_t& ch_layout, channel_layouts) {
audio_channels_field_->addItem(Core::ChannelLayoutToString(ch_layout), QVariant::fromValue(layout));
}
// Set values based on input sequence