Minor code style fix

This commit is contained in:
Casper Jeukendrup 2022-01-11 23:36:48 +01:00 committed by Igor Korsukov
parent 1c1a6cb533
commit ad91c231d4

View file

@ -736,12 +736,12 @@ PalettePtr PaletteCreator::newBracketsPalette()
sp->setDrawGrid(true);
sp->setVisible(false);
std::array<std::pair<BracketType, const char*>, 4> types {
{ { BracketType::NORMAL, QT_TRANSLATE_NOOP("palette", "Bracket") },
{ BracketType::BRACE, QT_TRANSLATE_NOOP("palette", "Brace") },
{ BracketType::SQUARE, QT_TRANSLATE_NOOP("palette", "Square") },
{ BracketType::LINE, QT_TRANSLATE_NOOP("palette", "Line") } }
};
std::array<std::pair<BracketType, const char*>, 4> types { {
{ BracketType::NORMAL, QT_TRANSLATE_NOOP("palette", "Bracket") },
{ BracketType::BRACE, QT_TRANSLATE_NOOP("palette", "Brace") },
{ BracketType::SQUARE, QT_TRANSLATE_NOOP("palette", "Square") },
{ BracketType::LINE, QT_TRANSLATE_NOOP("palette", "Line") }
} };
static Part* bracketItemOwnerPart = new Part(gpaletteScore);
static Staff* bracketItemOwner = Factory::createStaff(bracketItemOwnerPart);