Remove a couple of unused variables.

Change-Id: I33528cdb27801317d311d39e4499d2db6a291377
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
bb10
Miikka Heikkinen 2012-10-30 16:27:48 +02:00 committed by The Qt Project
parent 12e92ff807
commit 2f6543ebcd
1 changed files with 0 additions and 2 deletions

View File

@ -469,7 +469,6 @@ void QGuiApplicationPrivate::showModalWindow(QWindow *modal)
}
}
QEvent e(QEvent::WindowBlocked);
QWindowList windows = QGuiApplication::topLevelWindows();
for (int i = 0; i < windows.count(); ++i) {
QWindow *window = windows.at(i);
@ -484,7 +483,6 @@ void QGuiApplicationPrivate::hideModalWindow(QWindow *window)
{
self->modalWindowList.removeAll(window);
QEvent e(QEvent::WindowUnblocked);
QWindowList windows = QGuiApplication::topLevelWindows();
for (int i = 0; i < windows.count(); ++i) {
QWindow *window = windows.at(i);