X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/9854069549ae9491c4ef3bd0e9c105e5611a7daf..39f89141b06c:/src/panels/information/phononwidget.cpp diff --git a/src/panels/information/phononwidget.cpp b/src/panels/information/phononwidget.cpp index 798a4a35b..a0bbcf210 100644 --- a/src/panels/information/phononwidget.cpp +++ b/src/panels/information/phononwidget.cpp @@ -41,13 +41,11 @@ class EmbeddedVideoPlayer : public Phonon::VideoPlayer EmbeddedVideoPlayer(Phonon::Category category, QWidget *parent = 0) : Phonon::VideoPlayer(category, parent) { - setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed); } void setSizeHint(const QSize& size) { m_sizeHint = size; - setFixedHeight(size.height()); updateGeometry(); } @@ -153,7 +151,7 @@ void PhononWidget::showEvent(QShowEvent *event) // Creating an audio player or video player instance might take up to // 2 seconds when doing it the first time. To prevent that the user - // interface gets noticable blocked, the creation is delayed until + // interface gets noticeable blocked, the creation is delayed until // the play button has been pressed (see PhononWidget::play()). } } @@ -193,6 +191,7 @@ void PhononWidget::play() } m_media = m_audioMedia; m_media->setCurrentSource(m_url); + m_media->play(); break; case Video: