diff options
author | Anders Bakken <anders.bakken@nokia.com> | 2009-08-17 19:24:56 (GMT) |
---|---|---|
committer | Anders Bakken <anders.bakken@nokia.com> | 2009-08-17 20:24:41 (GMT) |
commit | ab4c3e1c2948c2edf078db4c1992848307b0c78e (patch) | |
tree | 85152cca721563cfcad0df8ae573e5bba3c63465 /src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp | |
parent | bc6c569b0d5862a159394de831cd129b610715ad (diff) | |
download | Qt-ab4c3e1c2948c2edf078db4c1992848307b0c78e.zip Qt-ab4c3e1c2948c2edf078db4c1992848307b0c78e.tar.gz Qt-ab4c3e1c2948c2edf078db4c1992848307b0c78e.tar.bz2 |
Clean up primary surface handling in DFB
To avoid confusion rename QDirectFBScreen::dfbSurface()
primarySurface() since this is what it is.
Reviewed-by: Donald <qt-info@nokia.com>
Diffstat (limited to 'src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp')
-rw-r--r-- | src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp b/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp index 57894d5..55d6466 100644 --- a/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp +++ b/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp @@ -170,7 +170,7 @@ static DFBResult setGeometry(IDirectFBWindow *dfbWindow, const QRect &old, const void QDirectFBWindowSurface::setGeometry(const QRect &rect) { - IDirectFBSurface *primarySurface = screen->dfbSurface(); + IDirectFBSurface *primarySurface = screen->primarySurface(); Q_ASSERT(primarySurface); if (rect.isNull()) { #ifndef QT_NO_DIRECTFB_WM @@ -348,7 +348,7 @@ void QDirectFBWindowSurface::flush(QWidget *, const QRegion ®ion, } const QRect windowGeometry = QDirectFBWindowSurface::geometry(); - IDirectFBSurface *primarySurface = screen->dfbSurface(); + IDirectFBSurface *primarySurface = screen->primarySurface(); if (mode == Offscreen) { primarySurface->SetBlittingFlags(primarySurface, DSBLIT_NOFX); const QRect windowRect(0, 0, windowGeometry.width(), windowGeometry.height()); |