]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/panels/information/phononwidget.cpp
fixed issue that the video preview size was wrong during resizing the information...
[dolphin.git] / src / panels / information / phononwidget.cpp
index 798a4a35b22691c80cef643450cd51c48efb7db0..7f2ca95648120696d3f78b06bffb0f436c2dc19e 100644 (file)
@@ -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();
         }