Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
4d93def3
Commit
4d93def3
authored
Oct 07, 2020
by
Jean-Baptiste Mardelle
Browse files
Comment out non working code
parent
d10c66c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/assets/assetlist/view/qml/assetList.qml
View file @
4d93def3
...
...
@@ -283,9 +283,10 @@ Rectangle {
sel
.
setCurrentIndex
(
styleData
.
index
,
ItemSelectionModel
.
ClearAndSelect
)
if
(
mouse
.
button
===
Qt
.
LeftButton
)
{
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
})
})
*/
}
else
{
drag
.
target
=
undefined
assetContextMenu
.
isItemFavorite
=
assetThumb
.
isFavorite
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment