summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/kernel/qapplication_s60.cpp6
1 files 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<QS60WindowSurface *>(qwidget->windowSurface());
+ CFbsBitmap *bitmap = s60Surface->symbianBitmap();
CWindowGc &gc = SystemGc();
if(qwidget->d_func()->extraData()->disableBlit) {
-
- QS60WindowSurface *s60Surface = static_cast<QS60WindowSurface *>(qwidget->windowSurface());
- CFbsBitmap *bitmap = s60Surface->symbianBitmap();
-
#ifdef DEBUG_QSYMBIANCONTROL
const TDisplayMode displayMode = bitmap->DisplayMode();
qDebug() << "QSymbianControl::Draw [" << this << "]"