diff options
author | Frans Englich <frans.englich@nokia.com> | 2009-09-24 15:44:24 (GMT) |
---|---|---|
committer | Frans Englich <frans.englich@nokia.com> | 2009-09-24 15:44:24 (GMT) |
commit | 8391d6564f60476f64bb2077555d4cd03e519e47 (patch) | |
tree | fdd3490e7a9c3136073b2c0391054a140cd403da | |
parent | 1b38614b31d5e1ab98ab4a755ac421f159e6a1fc (diff) | |
download | Qt-8391d6564f60476f64bb2077555d4cd03e519e47.zip Qt-8391d6564f60476f64bb2077555d4cd03e519e47.tar.gz Qt-8391d6564f60476f64bb2077555d4cd03e519e47.tar.bz2 |
Fix build.
-rw-r--r-- | src/gui/kernel/qapplication_s60.cpp | 6 |
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 << "]" |