~ruther/guix-local

ref: d579ccacb768d1cb8a8334b76a5bcddcd3feb42b guix-local/gnu/packages/patches/musescore-fix-build.patch -rw-r--r-- 1.1 KiB
d579ccac — Maxim Cournoyer gnu: libretro-slang-shaders: Update to 0-1.82d91f7. a year 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);