Fix build with -no-feature-animation
This amends 8eaf01ef81
Pick-to: 6.7
Change-Id: I8e30f232b732b0acb0b6c7070ecfa216fabd64da
Reviewed-by: Christian Ehrlicher <ch.ehrlicher@gmx.de>
bb10
parent
a1f12273b2
commit
2b8a604c40
|
|
@ -96,6 +96,7 @@ public:
|
|||
void startAnimation(QStyleAnimation *animation) const;
|
||||
void stopAnimation(const QObject *target) const;
|
||||
void removeAnimation(const QObject *target) const;
|
||||
#endif
|
||||
|
||||
QIcon iconFromWindowsTheme(QCommonStyle::StandardPixmap standardIcon,
|
||||
const QStyleOption *option,
|
||||
|
|
@ -113,6 +114,7 @@ public:
|
|||
return (option && option->direction == Qt::RightToLeft) ||
|
||||
(!option && QGuiApplication::isRightToLeft());
|
||||
}
|
||||
#if QT_CONFIG(animation)
|
||||
private:
|
||||
mutable QHash<const QObject*, QStyleAnimation*> animations;
|
||||
#endif // animation
|
||||
|
|
|
|||
Loading…
Reference in New Issue