Skip to content
Snippets Groups Projects
Commit 72506a97 authored by SeeLook's avatar SeeLook :musical_note:
Browse files

Fixed porting issues, mute warnings

parent cd5845f8
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* on the terms of GNU GPLv3 license (http://www.gnu.org/licenses) */ * on the terms of GNU GPLv3 license (http://www.gnu.org/licenses) */
import Nootka 1.0 import Nootka 1.0
import QtGraphicalEffects 1.0 import Qt5Compat.GraphicalEffects
import QtQuick 2.12 import QtQuick 2.12
TguitarBg { TguitarBg {
......
...@@ -87,7 +87,7 @@ Flickable { ...@@ -87,7 +87,7 @@ Flickable {
score.lastStaff = staves[staves.length - 1]; score.lastStaff = staves[staves.length - 1];
} }
onStavesHeightChanged: score.contentHeight = Math.max(stavesHeight, score.height) onStavesHeightChanged: score.contentHeight = Math.max(stavesHeight, score.height)
onStaffDestroying: { onStaffDestroying: staffNr => {
staves.splice(staffNr, 1); staves.splice(staffNr, 1);
lastStaff = staves[staves.length - 1]; lastStaff = staves[staves.length - 1];
} }
......
...@@ -29,7 +29,7 @@ Item { ...@@ -29,7 +29,7 @@ Item {
verticalItemAlignment: Grid.AlignVCenter verticalItemAlignment: Grid.AlignVCenter
ButtonGroup { ButtonGroup {
buttons: butRow.children id: bhGr
} }
Row { Row {
...@@ -47,10 +47,12 @@ Item { ...@@ -47,10 +47,12 @@ Item {
TradioButton { TradioButton {
id: bButt id: bButt
ButtonGroup.group: bhGr
text: "B" text: "B"
} }
TradioButton { TradioButton {
ButtonGroup.group: bhGr
text: "H" text: "H"
checked: !bButt.checked checked: !bButt.checked
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment