mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-13 10:30:43 +02:00
* gnu/packages/patches/musescore-fix-build.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it here. * gnu/packages/music.scm (musescore): Update to 4.5.2. [patches]: Use it here.
23 lines
1.1 KiB
Diff
23 lines
1.1 KiB
Diff
--- a/src/instrumentsscene/view/systemobjectslayersettingsmodel.cpp
|
|
+++ b/src/instrumentsscene/view/systemobjectslayersettingsmodel.cpp
|
|
@@ -83,6 +83,7 @@
|
|
|
|
void SystemObjectsLayerSettingsModel::setSystemObjectsGroupVisible(int index, bool visible)
|
|
{
|
|
+ using muse::TranslatableString;
|
|
const size_t idx = static_cast<size_t>(index);
|
|
if (idx >= m_systemObjectGroups.size()) {
|
|
return;
|
|
@@ -95,9 +96,9 @@
|
|
|
|
SystemObjectsGroup& group = m_systemObjectGroups.at(idx);
|
|
|
|
- const muse::TranslatableString actionName = visible
|
|
- ? TranslatableString("undoableAction", "Make system marking(s) visible")
|
|
- : TranslatableString("undoableAction", "Make system marking(s) invisible");
|
|
+ const TranslatableString actionName = visible
|
|
+ ? TranslatableString("undoableAction", "Make system marking(s) visible")
|
|
+ : TranslatableString("undoableAction", "Make system marking(s) invisible");
|
|
|
|
notation->undoStack()->prepareChanges(actionName);
|
|
|