diff options
Diffstat (limited to 'elements/gstqtvideosink/qwidgetvideosinkdelegate.cpp')
-rw-r--r-- | elements/gstqtvideosink/qwidgetvideosinkdelegate.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/elements/gstqtvideosink/qwidgetvideosinkdelegate.cpp b/elements/gstqtvideosink/qwidgetvideosinkdelegate.cpp index 76f3b45..eeb3855 100644 --- a/elements/gstqtvideosink/qwidgetvideosinkdelegate.cpp +++ b/elements/gstqtvideosink/qwidgetvideosinkdelegate.cpp @@ -43,11 +43,7 @@ void QWidgetVideoSinkDelegate::setWidget(QWidget *widget) m_widget.data()->setAttribute(Qt::WA_OpaquePaintEvent, m_opaquePaintEventAttribute); m_widget.data()->update(); -#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)) m_widget = NULL; -#else - m_widget = QWeakPointer<QWidget>(); -#endif } if (widget) { |