Apply 2081a3d0fd
to SG TextInput
This commit is contained in:
parent
3c600f0b6e
commit
2257e544e1
|
@ -1150,6 +1150,7 @@ bool QSGTextInput::isInputMethodComposing() const
|
|||
void QSGTextInputPrivate::init()
|
||||
{
|
||||
Q_Q(QSGTextInput);
|
||||
control->setParent(q);//Now mandatory due to accessibility changes
|
||||
control->setCursorWidth(1);
|
||||
control->setPasswordCharacter(QLatin1Char('*'));
|
||||
q->setSmooth(smooth);
|
||||
|
|
|
@ -83,12 +83,10 @@ public:
|
|||
showInputPanelOnFocus = false;
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
~QSGTextInputPrivate()
|
||||
{
|
||||
delete control;
|
||||
}
|
||||
|
||||
int xToPos(int x, QTextLine::CursorPosition betweenOrOn = QTextLine::CursorBetweenCharacters) const
|
||||
|
|
Loading…
Reference in New Issue