From c22451d93a0f69d3c13ab3996e08545ff888e33a Mon Sep 17 00:00:00 2001 From: "pjzhou@telenav.cn" Date: Wed, 29 May 2019 14:05:08 +0800 Subject: [PATCH] Fix a bug for Qt5.12.1 --- QmlDragDrop/main.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/QmlDragDrop/main.qml b/QmlDragDrop/main.qml index b4be524..fe114e3 100644 --- a/QmlDragDrop/main.qml +++ b/QmlDragDrop/main.qml @@ -25,7 +25,7 @@ ApplicationWindow { Drag.active: dragArea.drag.active; Drag.supportedActions: Qt.CopyAction; Drag.dragType: Drag.Automatic; - Drag.mimeData: {"text": text}; + Drag.mimeData: {"text": text} MouseArea { id: dragArea; @@ -74,7 +74,7 @@ ApplicationWindow { Drag.active: dragArea1.drag.active; Drag.supportedActions: Qt.CopyAction; Drag.dragType: Drag.Automatic; - Drag.mimeData: {"pic": source}; + Drag.mimeData: {"pic": source} MouseArea { id: dragArea1;