src/hbinput/inputwidgets/hbinputcandidatelist.cpp
changeset 7 923ff622b8b9
parent 6 c3690ec91ef8
child 21 4633027730f5
child 34 ed14f46c0e55
equal deleted inserted replaced
6:c3690ec91ef8 7:923ff622b8b9
   194 Populates the candidate list with text strings given as parameter.
   194 Populates the candidate list with text strings given as parameter.
   195 */
   195 */
   196 void HbCandidateList::populateList(const QStringList &candidates, bool addSpellQuery)
   196 void HbCandidateList::populateList(const QStringList &candidates, bool addSpellQuery)
   197 {
   197 {
   198     Q_D(HbCandidateList);
   198     Q_D(HbCandidateList);
   199 
   199 	// Only for the first time when we launch candidate list its not setting a layout, 
       
   200 	// Mostly the problem is form Qt side, for the time being to resolve issue related to candidate list
       
   201 	// making visible property true.  
       
   202     setVisible(true);
   200     setContentWidget(d->mList);
   203     setContentWidget(d->mList);
   201 
   204 
   202     d->setPriority(HbPopupPrivate::VirtualKeyboard + 1);  // Should be shown on top of virtual keyboard.
   205     d->setPriority(HbPopupPrivate::VirtualKeyboard + 1);  // Should be shown on top of virtual keyboard.
   203     d->mList->clear();
   206     d->mList->clear();
   204 
   207