summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFrans Englich <frans.englich@nokia.com>2009-09-24 15:44:24 (GMT)
committerFrans Englich <frans.englich@nokia.com>2009-09-24 15:44:24 (GMT)
commit8391d6564f60476f64bb2077555d4cd03e519e47 (patch)
treefdd3490e7a9c3136073b2c0391054a140cd403da /src
parent1b38614b31d5e1ab98ab4a755ac421f159e6a1fc (diff)
downloadQt-8391d6564f60476f64bb2077555d4cd03e519e47.zip
Qt-8391d6564f60476f64bb2077555d4cd03e519e47.tar.gz
Qt-8391d6564f60476f64bb2077555d4cd03e519e47.tar.bz2
Fix build.
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 << "]"