~ruther/guix-local

ref: fa3a672b3beae22f094c7bb042ee1adcb8d92506 guix-local/gnu/packages/patches/musescore-fix-build.patch -rw-r--r-- 1.1 KiB
fa3a672b — Remco van 't Veer gnu: ruby-ox: Update to 2.14.21. 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- 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);