File Fix-bug-when-highlighting-selected-notes.patch of Package minuet

From 3bf2f5e93d078e8215c47a4b4e3f7e240b943060 Mon Sep 17 00:00:00 2001
From: "Sandro S. Andrade" <sandroandrade@kde.org>
Date: Sun, 30 Sep 2018 12:13:10 -0300
Subject: Fix bug when highlighting selected notes

---
 src/app/qml/PianoView/PianoView.qml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/app/qml/PianoView/PianoView.qml b/src/app/qml/PianoView/PianoView.qml
index 90b3218..da3a78b 100644
--- a/src/app/qml/PianoView/PianoView.qml
+++ b/src/app/qml/PianoView/PianoView.qml
@@ -45,7 +45,7 @@ Flickable {
         highlightKey(pitch, ([1,3,6,8,10].indexOf(pitch % 12) > -1) ? "black":"white")
     }
     function noteMark(chan, pitch, vel, color) {
-        noteMark.createObject(itemForPitch(pitch), { color: color })
+        noteMarkComponent.createObject(itemForPitch(pitch), { color: color })
     }
     function noteUnmark(chan, pitch, vel, color) {
         if(itemForPitch(pitch)!= undefined){
@@ -133,7 +133,7 @@ Flickable {
         }
 
         Component {
-            id: noteMark
+            id: noteMarkComponent
 
             Rectangle {
                 width: keyWidth - 4; height: keyWidth - 4
-- 
cgit v0.11.2

openSUSE Build Service is sponsored by