don't use enum bitfields for unspecied enums
This commit is contained in:
parent
36f502b57a
commit
4220edc7ca
@ -338,7 +338,7 @@ void QskStackBoxAnimator2::setOrientation( Qt::Orientation orientation )
|
||||
|
||||
Qt::Orientation QskStackBoxAnimator2::orientation() const
|
||||
{
|
||||
return m_orientation;
|
||||
return static_cast< Qt::Orientation >( m_orientation );
|
||||
}
|
||||
|
||||
void QskStackBoxAnimator2::setInverted( bool on )
|
||||
|
@ -96,7 +96,7 @@ class QSK_EXPORT QskStackBoxAnimator2 : public QskStackBoxAnimator
|
||||
void done() override;
|
||||
|
||||
private:
|
||||
Qt::Orientation m_orientation : 2;
|
||||
unsigned int m_orientation : 2;
|
||||
bool m_inverted : 1;
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user