Skip to content

Commit

Permalink
repair fix of deprecated interface
Browse files Browse the repository at this point in the history
  • Loading branch information
jmlich committed Oct 2, 2020
1 parent 3e98561 commit 684b9b7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions ContestantsDelegate.qml
Original file line number Diff line number Diff line change
Expand Up @@ -207,17 +207,15 @@ Item {
anchors.margins: 4
Connections {
target: loaderTextEdit.item
function onNewValue() {
function onNewValue(value) {

switch (styleData.role) {

case "startTime":

changeModel(styleData.row, styleData.role, value)
break;

case "speed":

changeModel(styleData.row, styleData.role, parseInt(value))
break;

Expand Down Expand Up @@ -257,7 +255,6 @@ Item {
text: getTextForRole(styleData.row, styleData.role, styleData.value);

onAccepted: {

newValue(text);
}

Expand Down

0 comments on commit 684b9b7

Please sign in to comment.