File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ void MidiCcSetting::serializeToXml(QXmlStreamWriter & writer) const
7575
7676std::unique_ptr<MidiCcSetting> MidiCcSetting::deserializeFromXml (QXmlStreamReader & reader)
7777{
78- const auto enabled = static_cast <bool >(Utils::Xml::readBoolAttribute (reader, Constants::xmlKeyEnabled ()).value_or (false ));
78+ const auto enabled = static_cast <bool >(Utils::Xml::readBoolAttribute (reader, Constants::xmlKeyEnabled (), false ).value_or (false ));
7979 const auto controller = static_cast <uint8_t >(*Utils::Xml::readUIntAttribute (reader, Constants::xmlKeyController ()));
8080 const auto value = static_cast <uint8_t >(*Utils::Xml::readUIntAttribute (reader, Constants::xmlKeyValue ()));
8181 return std::make_unique<MidiCcSetting>(enabled, controller, value);
You can’t perform that action at this time.
0 commit comments