~ruther/guix-local

ref: 96c30d2bf650ca62beec280d541a0b52f2b6fc7d guix-local/gnu/packages/patches/musescore-fix-build.patch -rw-r--r-- 1.1 KiB
96c30d2b — Ian Eure gnu: Remove Tailon services and documentation. 7 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);