]> git.sesse.net Git - pkanalytics/commitdiff
Make the video actually fit its intended size.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 23 Jul 2023 16:48:23 +0000 (18:48 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 23 Jul 2023 16:48:23 +0000 (18:48 +0200)
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));
 
        // ...