equal
deleted
inserted
replaced
198 |
198 |
199 //} |
199 //} |
200 //activateState(inputState); |
200 //activateState(inputState); |
201 //focusedObject->editorInterface().setInputMode(mInputMode); |
201 //focusedObject->editorInterface().setInputMode(mInputMode); |
202 //focusedObject->syncEditorInterface(); |
202 //focusedObject->syncEditorInterface(); |
203 HbInputFocusObject *focusedObject = focusObject(); |
203 HbInputFocusObject *focusedObject = focusObject(); |
204 if (focusedObject) { |
204 if (focusedObject) { |
205 // Just refresh the situation. |
205 // Just refresh the situation. |
206 inputStateActivated(inputState()); |
206 inputStateActivated(inputState()); |
207 return; |
207 return; |
208 } |
208 } |
506 QSizeF candListSize = mCandidatePopup->size(); |
506 QSizeF candListSize = mCandidatePopup->size(); |
507 candListSize.setWidth(mainRect.width() - (HbAutoComplPopupLeftMargin * 2.0)); |
507 candListSize.setWidth(mainRect.width() - (HbAutoComplPopupLeftMargin * 2.0)); |
508 mCandidatePopup->resize(candListSize); |
508 mCandidatePopup->resize(candListSize); |
509 } |
509 } |
510 |
510 |
511 mCandidatePopup->setBackgroundFaded(false); |
511 mCandidatePopup->setBackgroundFaded(false); |
512 mCandidatePopup->show(); |
512 mCandidatePopup->show(); |
513 } else if (mCandidatePopup->isVisible()) { |
513 } else if (mCandidatePopup->isVisible()) { |
514 mCandidatePopup->hide(); |
514 mCandidatePopup->hide(); |
515 } |
515 } |
516 } |
516 } |