From 8391d6564f60476f64bb2077555d4cd03e519e47 Mon Sep 17 00:00:00 2001 From: Frans Englich Date: Thu, 24 Sep 2009 17:44:24 +0200 Subject: Fix build. --- src/gui/kernel/qapplication_s60.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/gui/kernel/qapplication_s60.cpp b/src/gui/kernel/qapplication_s60.cpp index ded4d5d..e330057 100644 --- a/src/gui/kernel/qapplication_s60.cpp +++ b/src/gui/kernel/qapplication_s60.cpp @@ -738,13 +738,11 @@ void QSymbianControl::Draw(const TRect& r) const return; if (engine->type() == QPaintEngine::Raster) { + QS60WindowSurface *s60Surface = static_cast(qwidget->windowSurface()); + CFbsBitmap *bitmap = s60Surface->symbianBitmap(); CWindowGc &gc = SystemGc(); if(qwidget->d_func()->extraData()->disableBlit) { - - QS60WindowSurface *s60Surface = static_cast(qwidget->windowSurface()); - CFbsBitmap *bitmap = s60Surface->symbianBitmap(); - #ifdef DEBUG_QSYMBIANCONTROL const TDisplayMode displayMode = bitmap->DisplayMode(); qDebug() << "QSymbianControl::Draw [" << this << "]" -- cgit v0.12