- Increase the dimension of the video widget.

preferencesAboutTextFull
agriche 9 years ago
parent 40faa8ffcb
commit 2bf6a6d6e0
  1. 9
      src/domain/UBGraphicsMediaItem.cpp

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

Loading…
Cancel
Save