Commit 4d93def3 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Comment out non working code

parent d10c66c5
...@@ -283,9 +283,10 @@ Rectangle { ...@@ -283,9 +283,10 @@ Rectangle {
sel.setCurrentIndex(styleData.index, ItemSelectionModel.ClearAndSelect) sel.setCurrentIndex(styleData.index, ItemSelectionModel.ClearAndSelect)
if (mouse.button === Qt.LeftButton) { if (mouse.button === Qt.LeftButton) {
drag.target = parent drag.target = parent
parent.grabToImage(function(result) { // grabToImage does not work on QQuickWidget from AssetListWidget. We should use QQuickView + QWidget::createWindowContainer
/*parent.grabToImage(function(result) {
parent.Drag.imageSource = result.url parent.Drag.imageSource = result.url
}) })*/
} else { } else {
drag.target = undefined drag.target = undefined
assetContextMenu.isItemFavorite = assetThumb.isFavorite assetContextMenu.isItemFavorite = assetThumb.isFavorite
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment