From 2e7c6c66763b759aaca7be0450052e4fb27d3b46 Mon Sep 17 00:00:00 2001 From: Uwe Rathmann Date: Fri, 28 Sep 2018 07:30:56 +0200 Subject: [PATCH] QskTextInput::setEditing fixed ( includes removing of MSVC incompatible code ) --- src/controls/QskTextInput.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/controls/QskTextInput.cpp b/src/controls/QskTextInput.cpp index 03776c45..e0cea55b 100644 --- a/src/controls/QskTextInput.cpp +++ b/src/controls/QskTextInput.cpp @@ -571,14 +571,8 @@ void QskTextInput::setEditing( bool on ) } else { - auto d = QQuickTextInputPrivate::get( m_data->textInput ); - - const auto status = d->hasAcceptableInput( d->m_text ); - if ( status == QQuickTextInputPrivate::AcceptableInput ) - { - if ( fixup() ) - Q_EMIT m_data->textInput->editingFinished(); - } + if ( fixup() ) + Q_EMIT m_data->textInput->editingFinished(); #if 0 inputMethod->reset();