typos fixed

This commit is contained in:
Uwe Rathmann 2018-06-14 13:19:04 +02:00
parent a8288f21b4
commit 5cc45e35e2
2 changed files with 4 additions and 3 deletions

View File

@ -285,6 +285,7 @@ bool QskGestureRecognizer::processEvent(
{ {
// should not happen, when using the recognizer correctly // should not happen, when using the recognizer correctly
qWarning() << "QskGestureRecognizer: pressed, while not being idle"; qWarning() << "QskGestureRecognizer: pressed, while not being idle";
abort();
return false; return false;
} }

View File

@ -37,9 +37,9 @@ static inline void qskSendText( QQuickItem* receiver,
QInputMethodEvent event; QInputMethodEvent event;
/* /*
QQuickTextInput is buggy when receiving empty QQuickTextInput is buggy when receiving empty commit strings.
empty commit strings. We need to send a wrong We need to send a wrong replaceLength to work around it.
replaceLength to work around it. See QTBUG: 68874 See QTBUG: 68874
*/ */
if ( text.isEmpty() ) if ( text.isEmpty() )
event.setCommitString( text, 0, 1 ); event.setCommitString( text, 0, 1 );