Qt 5.6 incompatibility fixed

This commit is contained in:
Uwe Rathmann 2018-06-12 20:50:32 +02:00
parent e70bcecae3
commit b0a87163bf

View File

@ -346,6 +346,7 @@ void QskInputPanel::updateInputPanel( Qt::InputMethodQueries queries )
setLocale( event.value( Qt::ImPreferredLanguage ).toLocale() ); setLocale( event.value( Qt::ImPreferredLanguage ).toLocale() );
} }
#if QT_VERSION >= QT_VERSION_CHECK(5, 7, 0)
if ( queries & Qt::ImInputItemClipRectangle ) if ( queries & Qt::ImInputItemClipRectangle )
{ {
/* /*
@ -353,6 +354,7 @@ void QskInputPanel::updateInputPanel( Qt::InputMethodQueries queries )
so that it does not hide the item. so that it does not hide the item.
*/ */
} }
#endif
} }
void QskInputPanel::updateLocale( const QLocale& locale ) void QskInputPanel::updateLocale( const QLocale& locale )