telutils/dialpad/tsrc/dialpadtest/dialpadtestview.cpp
changeset 15 d7fc66ccd6fb
parent 13 e32024264ebb
child 19 e44a8c097b15
--- a/telutils/dialpad/tsrc/dialpadtest/dialpadtestview.cpp	Fri Apr 16 15:31:58 2010 +0300
+++ b/telutils/dialpad/tsrc/dialpadtest/dialpadtestview.cpp	Mon May 03 13:01:45 2010 +0300
@@ -101,7 +101,10 @@
 
 void DialpadTestView::setDialpadPosition()
 {
-    QRectF screenRect = mMainWindow.layoutRect();
+    // workaround to tsw error JMKN-83NAPU (fix coming in MCL wk14)
+    // QRectF screenRect(mMainWindow.layoutRect());
+    QRectF screenRect = (mMainWindow.orientation() == Qt::Horizontal) ?
+                        QRectF(0,0,640,360) : QRectF(0,0,360,640);
 
     if (mMainWindow.orientation() == Qt::Horizontal) {
         // dialpad takes half of the screen