Commit 2bf6a6d6 authored by agriche's avatar agriche

- Increase the dimension of the video widget.

parent 40faa8ff
......@@ -76,7 +76,6 @@ UBGraphicsMediaItem::UBGraphicsMediaItem(const QUrl& pMediaFileUrl, QGraphicsIte
//mMediaObject->setTickInterval(50);
mMediaObject->setPosition(50);
//mVideoWidget = new Phonon::VideoWidget(); // owned and destructed by the scene ...
mVideoWidget = new QVideoWidget(); // owned and destructed by the scene ...
......@@ -87,9 +86,15 @@ UBGraphicsMediaItem::UBGraphicsMediaItem(const QUrl& pMediaFileUrl, QGraphicsIte
mVideoWidget->resize(320,240);
}
mVideoWidget->setMinimumSize(140,26);
//mVideoWidget->setMinimumSize(140,26);
mVideoWidget->setMinimumSize(320,240);
haveLinkedImage = true;
// DEBUGGING VIDEO
//*****************
qDebug() << "UBGraphicsMediaItem.cpp:" << mVideoWidget << "setMinimumSize(140,26)" ;
}
else if (mediaPath.toLower().contains("audios"))
{
......
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