focusPolicy reoved for Qt >= 6.7
This commit is contained in:
parent
57162cdff1
commit
70cc744ba2
@ -23,7 +23,9 @@ QskItemPrivate::QskItemPrivate()
|
|||||||
, clearPreviousNodes( false )
|
, clearPreviousNodes( false )
|
||||||
, initiallyPainted( false )
|
, initiallyPainted( false )
|
||||||
, wheelEnabled( false )
|
, wheelEnabled( false )
|
||||||
|
#if QT_VERSION < QT_VERSION_CHECK( 6, 7, 0 )
|
||||||
, focusPolicy( Qt::NoFocus )
|
, focusPolicy( Qt::NoFocus )
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
if ( updateFlags & QskItem::DeferredLayout )
|
if ( updateFlags & QskItem::DeferredLayout )
|
||||||
{
|
{
|
||||||
|
@ -61,7 +61,9 @@ class QskItemPrivate : public QQuickItemPrivate
|
|||||||
bool initiallyPainted : 1;
|
bool initiallyPainted : 1;
|
||||||
bool wheelEnabled : 1;
|
bool wheelEnabled : 1;
|
||||||
|
|
||||||
|
#if QT_VERSION < QT_VERSION_CHECK( 6, 7, 0 )
|
||||||
uint focusPolicy : 4;
|
uint focusPolicy : 4;
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user