diff options
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/qt5/Qt5Widget.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/qt5/Qt5Widget.cxx b/vcl/qt5/Qt5Widget.cxx index b25d26092a83..0b22cbb884f8 100644 --- a/vcl/qt5/Qt5Widget.cxx +++ b/vcl/qt5/Qt5Widget.cxx @@ -478,7 +478,7 @@ void Qt5Widget::inputMethodEvent(QInputMethodEvent* pEvent) aInputEvent.mpTextAttr = nullptr; aInputEvent.mnCursorFlags = 0; - if (!pEvent->commitString().isEmpty()) + if (!pEvent->commitString().isNull()) { vcl::DeletionListener aDel(m_pFrame); aInputEvent.maText = toOUString(pEvent->commitString()); |