From: Jean-Baptiste Mardelle Date: Sun, 26 Dec 2010 11:32:43 +0000 (+0000) Subject: Fix image selection in title clips: X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=256f950ea776efeabd417bf9477747ea2c2bd35d;p=kdenlive Fix image selection in title clips: http://www.kdenlive.org/mantis/view.php?id=933 svn path=/trunk/kdenlive/; revision=5201 --- diff --git a/src/titledocument.cpp b/src/titledocument.cpp index 8c360d7d..7aebd8f4 100644 --- a/src/titledocument.cpp +++ b/src/titledocument.cpp @@ -420,6 +420,7 @@ int TitleDocument::loadFromXml(QDomDocument doc, QGraphicsRectItem* startv, QGra pix.loadFromData(QByteArray::fromBase64(base64.toAscii())); } QGraphicsPixmapItem *rec = m_scene->addPixmap(pix); + rec->setShapeMode(QGraphicsPixmapItem::BoundingRectShape); rec->setData(Qt::UserRole, url); if (!base64.isEmpty()) { rec->setData(Qt::UserRole + 1, base64);