Commit 38dbb6ab authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

Fix compiler warning

Change-Id: Ib77456e9d0143eeddecc2c2027eecaabddea0a66
Reviewed-by: default avatarThomas Hartmann <>
parent 5bede659
......@@ -367,13 +367,10 @@ void ItemLibraryWidget::startDragAndDrop(int itemLibId)
QMimeData *mimeData = m_itemLibraryModel->getMimeData(itemLibId);
QDrag *drag = new QDrag(this);
const QImage image = qvariant_cast<QImage>(mimeData->imageData());
drag->setPixmap(m_itemLibraryModel->getIcon(itemLibId).pixmap(32, 32));
QQuickItem *rootItem = qobject_cast<QQuickItem*>(m_itemsView->rootObject());
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