DirectFB fix build error in QDirectFBWindow

This error was introduced by the Make the expose region local on all
platforms fix.

Change-Id: I961a53cb81c400471dff112664aa6d56e445d21c
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
This commit is contained in:
Andy Nichols 2014-08-14 11:58:29 +02:00 committed by Simon Hausmann
parent 63ec4d42c0
commit b0781780ff

View File

@ -137,7 +137,7 @@ void QDirectFbWindow::setVisible(bool visible)
} }
if (window()->isTopLevel() && visible) if (window()->isTopLevel() && visible)
QWindowSystemInterface::handleExposeEvent(window(), QRect(QPoint(0, 0), window()->geometry())); QWindowSystemInterface::handleExposeEvent(window(), QRect(QPoint(0, 0), window()->geometry().size()));
} }
void QDirectFbWindow::setWindowFlags(Qt::WindowFlags flags) void QDirectFbWindow::setWindowFlags(Qt::WindowFlags flags)