Skip to content
Snippets Groups Projects
Commit 066a82c7 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

spell out InstrumentsSet::addEmptyInstrumentSelection in InstrumentsSet::emplace_back

parent 7447f340
No related branches found
No related tags found
1 merge request!2362rename fcts, ..., to prepare for simplification of InstrumentsSet
...@@ -80,7 +80,7 @@ void InstrumentsSet::readFrom(QXmlStreamReader* r) ...@@ -80,7 +80,7 @@ void InstrumentsSet::readFrom(QXmlStreamReader* r)
void InstrumentsSet::emplace_back(InstrumentItem* item) void InstrumentsSet::emplace_back(InstrumentItem* item)
{ {
addEmptyInstrumentSelection().setCurrentItem(item); m_instruments.push_back(item);
} }
InstrumentItem* InstrumentsSet::insertItemCopy(const InstrumentItem& source) InstrumentItem* InstrumentsSet::insertItemCopy(const InstrumentItem& source)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment