diff options
author | Lars Knoll <lars.knoll@qt.io> | 2021-02-12 16:30:53 +0100 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2021-03-02 14:47:36 +0000 |
commit | d8749dbea84bfa28bfcb5cdb60550f3e5cac3b7e (patch) | |
tree | 850fda645c40e3c5545fa8e4e57aff8d16fd8b8e /src/multimediawidgets/qvideowidget.cpp | |
parent | a6048657cafe1700b2377fa7ce1249d6140d48fa (diff) |
Get rid of one layer of indirection in the backend
QMediaPlatformPlayerInterface didn't do anything anymore but
to create a QMediaPlayerControl. So we might as well remove
that layer.
Change-Id: I1481188384d5eb25c845317835c44ec0be8c9099
Reviewed-by: Doris Verria <doris.verria@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/multimediawidgets/qvideowidget.cpp')
-rw-r--r-- | src/multimediawidgets/qvideowidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/multimediawidgets/qvideowidget.cpp b/src/multimediawidgets/qvideowidget.cpp index 73c7930df..2a5bbca4a 100644 --- a/src/multimediawidgets/qvideowidget.cpp +++ b/src/multimediawidgets/qvideowidget.cpp @@ -671,8 +671,8 @@ bool QVideoWidget::nativeEvent(const QByteArray &eventType, void *message, qintp MSG *mes = reinterpret_cast<MSG *>(message); if (mes->message == WM_PAINT || mes->message == WM_ERASEBKGND) { - if (d->windowBackend) - d->windowBackend->showEvent(); +// if (d->windowBackend) +// d->windowBackend->showEvent(); } return false; |