Remove unused value in qvideowidget.cpp

Following change: 439d5b0e53

Change-Id: I111a87578844bb3c18819285ae9509e0f2c408d9
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
This commit is contained in:
Caroline Chao
2012-10-12 15:22:14 +02:00
committed by The Qt Project
parent 2a8ae1c361
commit 89ba86d7bc

View File

@@ -902,8 +902,6 @@ bool QVideoWidget::event(QEvent *event)
Q_D(QVideoWidget); Q_D(QVideoWidget);
if (event->type() == QEvent::WindowStateChange) { if (event->type() == QEvent::WindowStateChange) {
Qt::WindowFlags flags = windowFlags();
if (windowState() & Qt::WindowFullScreen) { if (windowState() & Qt::WindowFullScreen) {
if (d->currentControl) if (d->currentControl)
d->currentControl->setFullScreen(true); d->currentControl->setFullScreen(true);