Remove unused value in qvideowidget.cpp
authorCaroline Chao <caroline.chao@digia.com>
Fri, 12 Oct 2012 13:22:14 +0000 (15:22 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sat, 13 Oct 2012 00:31:12 +0000 (02:31 +0200)
Following change: 439d5b0e53f564dc75e427743ccce75c6a62f1c6

Change-Id: I111a87578844bb3c18819285ae9509e0f2c408d9
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
src/multimediawidgets/qvideowidget.cpp

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