--- a/src/hbinput/inputwidgets/hbinputmethodselectionlist.cpp Thu Sep 02 20:44:51 2010 +0300
+++ b/src/hbinput/inputwidgets/hbinputmethodselectionlist.cpp Fri Sep 17 08:32:10 2010 +0300
@@ -140,11 +140,10 @@
Q_D(HbInputMethodSelectionList);
HbInputRegionCollector::instance()->attach(this);
- HbStyle style;
qreal listWidth(300);
- style.parameter(QString("expr(var(hb-param-screen-short-edge)-(2*var(hb-param-margin-gene-screen)))"), listWidth);
+ style()->parameter(QString("expr(var(hb-param-screen-short-edge)-(2*var(hb-param-margin-gene-screen)))"), listWidth);
qreal margin(5);
- style.parameter(QString("hb-param-margin-gene-popup"), margin);
+ style()->parameter(QString("hb-param-margin-gene-popup"), margin);
QGraphicsLinearLayout *layout = new QGraphicsLinearLayout();
layout->setContentsMargins(margin, margin, margin, margin);
@@ -158,6 +157,7 @@
// Make sure input method selection list never steals focus.
setFlag(QGraphicsItem::ItemIsPanel, true);
+ d->mActivePopup = false;
setActive(false);
d->createSelectionList();