summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2011-06-07 08:28:20 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2011-06-07 08:28:20 (GMT)
commit1dd89b6ad0546f247486b63f72035baf21475b51 (patch)
tree7c3b3cc67c41907be1aa9616fb5e88d4055691f4 /src/gui
parentb83cadfc3a8edb2769981c3774a1b9aee0608ec7 (diff)
parent34b888b2c6455cdcd4f931f6a5a038636cf951eb (diff)
downloadQt-1dd89b6ad0546f247486b63f72035baf21475b51.zip
Qt-1dd89b6ad0546f247486b63f72035baf21475b51.tar.gz
Qt-1dd89b6ad0546f247486b63f72035baf21475b51.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public: KERN-EXEC 3 panic in QCoeFepInputContext::translateInputWidget()
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/inputmethod/qcoefepinputcontext_s60.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/inputmethod/qcoefepinputcontext_s60.cpp b/src/gui/inputmethod/qcoefepinputcontext_s60.cpp
index 67330e2..f057e0a 100644
--- a/src/gui/inputmethod/qcoefepinputcontext_s60.cpp
+++ b/src/gui/inputmethod/qcoefepinputcontext_s60.cpp
@@ -868,6 +868,8 @@ void QCoeFepInputContext::ensureInputCapabilitiesChanged()
void QCoeFepInputContext::translateInputWidget()
{
QGraphicsView *gv = qobject_cast<QGraphicsView *>(S60->splitViewLastWidget);
+ if (!gv)
+ return;
QRect splitViewRect = qt_TRect2QRect(static_cast<CEikAppUi*>(S60->appUi())->ClientRect());
QRectF cursor = gv->scene()->inputMethodQuery(Qt::ImMicroFocus).toRectF();