diff --git a/src/gui/ConflictDelegate.qml b/src/gui/ConflictDelegate.qml index ff6b48eb00e71..915173507233a 100644 --- a/src/gui/ConflictDelegate.qml +++ b/src/gui/ConflictDelegate.qml @@ -57,14 +57,14 @@ Item { Layout.fillWidth: true Layout.fillHeight: true - itemSelected: root.existingSelected - itemPreviewUrl: root.existingPreviewUrl + itemSelected: root.conflictSelected + itemPreviewUrl: root.conflictPreviewUrl itemVersionLabel: qsTr('Local version') - itemDateLabel: root.existingDate - itemFileSizeLabel: root.existingSize + itemDateLabel: root.conflictDate + itemFileSizeLabel: root.conflictSize onSelectedChanged: function() { - model.existingSelected = itemSelected + model.conflictSelected = itemSelected } } @@ -72,14 +72,14 @@ Item { Layout.fillWidth: true Layout.fillHeight: true - itemSelected: root.conflictSelected - itemPreviewUrl: root.conflictPreviewUrl + itemSelected: root.existingSelected + itemPreviewUrl: root.existingPreviewUrl itemVersionLabel: qsTr('Server version') - itemDateLabel: root.conflictDate - itemFileSizeLabel: root.conflictSize + itemDateLabel: root.existingDate + itemFileSizeLabel: root.existingSize onSelectedChanged: function() { - model.conflictSelected = itemSelected + model.existingSelected = itemSelected } } } diff --git a/src/gui/ResolveConflictsDialog.qml b/src/gui/ResolveConflictsDialog.qml index 799a11034d663..823c4d0b25db8 100644 --- a/src/gui/ResolveConflictsDialog.qml +++ b/src/gui/ResolveConflictsDialog.qml @@ -101,9 +101,9 @@ ApplicationWindow { font.pixelSize: Style.fontPixelSizeResolveConflictsDialog - checked: realModel.allExistingsSelected + checked: realModel.allConflictingSelected onToggled: function() { - realModel.selectAllExisting(checked) + realModel.selectAllConflicting(checked) } } @@ -119,9 +119,9 @@ ApplicationWindow { font.pixelSize: Style.fontPixelSizeResolveConflictsDialog - checked: realModel.allConflictingSelected + checked: realModel.allExistingsSelected onToggled: function() { - realModel.selectAllConflicting(checked) + realModel.selectAllExisting(checked) } } }