]> git.sesse.net Git - pkanalytics/blobdiff - video_widget.cpp
Make the video actually fit its intended size.
[pkanalytics] / video_widget.cpp
index 5d706ac3f55051080dd9b9bfbac97e0fb53b72a6..1f3534f117cdf425c6fc1ba048706f82580f4921 100644 (file)
@@ -240,6 +240,7 @@ VideoWidget::VideoWidget(QWidget *parent)
        : QWidget(parent),
          video_window(new VideoWindow(this)) {
        setLayout(new QHBoxLayout);
+       layout()->setContentsMargins(QMargins());
        layout()->addWidget(QWidget::createWindowContainer(video_window));
 
        // ...