focusPolicy reoved for Qt >= 6.7

This commit is contained in:
Uwe Rathmann 2025-01-06 09:34:29 +01:00
parent 57162cdff1
commit 70cc744ba2
2 changed files with 4 additions and 0 deletions

View File

@ -23,7 +23,9 @@ QskItemPrivate::QskItemPrivate()
, clearPreviousNodes( false )
, initiallyPainted( false )
, wheelEnabled( false )
#if QT_VERSION < QT_VERSION_CHECK( 6, 7, 0 )
, focusPolicy( Qt::NoFocus )
#endif
{
if ( updateFlags & QskItem::DeferredLayout )
{

View File

@ -61,7 +61,9 @@ class QskItemPrivate : public QQuickItemPrivate
bool initiallyPainted : 1;
bool wheelEnabled : 1;
#if QT_VERSION < QT_VERSION_CHECK( 6, 7, 0 )
uint focusPolicy : 4;
#endif
};
#endif