diff --git a/plasmoid/package/contents/ui/task/TaskItem.qml b/plasmoid/package/contents/ui/task/TaskItem.qml index 5b773a345..8c6bfb374 100644 --- a/plasmoid/package/contents/ui/task/TaskItem.qml +++ b/plasmoid/package/contents/ui/task/TaskItem.qml @@ -331,7 +331,7 @@ AbilityItem.BasicItem { taskItem.contentItem.monochromizedItem.grabToImage((result) => { root.dragSource = taskItem; dragHelper.Drag.imageSource = result.url; - dragHelper.Drag.mimeData = dragHelper.generateMimeData(model.MimeType, model.MimeData, model.LauncherUrlWithoutIcon); + dragHelper.Drag.mimeData = backend.generateMimeData(model.MimeType, model.MimeData, model.LauncherUrlWithoutIcon); dragHelper.Drag.active = true; }); } else { diff --git a/plasmoid/package/contents/ui/task/TaskMouseArea.qml b/plasmoid/package/contents/ui/task/TaskMouseArea.qml index 95db683ca..b1297317a 100644 --- a/plasmoid/package/contents/ui/task/TaskMouseArea.qml +++ b/plasmoid/package/contents/ui/task/TaskMouseArea.qml @@ -87,7 +87,7 @@ MouseArea { pressY = -1; root.dragSource = taskItem; dragHelper.Drag.imageSource = result.url; - dragHelper.Drag.mimeData = dragHelper.generateMimeData(model.MimeType, model.MimeData, model.LauncherUrlWithoutIcon); + dragHelper.Drag.mimeData = backend.generateMimeData(model.MimeType, model.MimeData, model.LauncherUrlWithoutIcon); dragHelper.Drag.active = true; }); }