mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
ffc372e0c0
commit
7dc87c468e
@ -254,7 +254,7 @@ class TagsView(QTreeView): # {{{
|
|||||||
QTreeView.mouseMoveEvent(self, event)
|
QTreeView.mouseMoveEvent(self, event)
|
||||||
return
|
return
|
||||||
md = self._model.mimeData([dex])
|
md = self._model.mimeData([dex])
|
||||||
pixmap = dex.data(DRAG_IMAGE_ROLE).pixmap(25, 25)
|
pixmap = dex.data(DRAG_IMAGE_ROLE).pixmap(self.iconSize())
|
||||||
drag = QDrag(self)
|
drag = QDrag(self)
|
||||||
drag.setPixmap(pixmap)
|
drag.setPixmap(pixmap)
|
||||||
drag.setMimeData(md)
|
drag.setMimeData(md)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user