diff options
Diffstat (limited to 'src/quicktemplates2/qquickswitchdelegate.cpp')
-rw-r--r-- | src/quicktemplates2/qquickswitchdelegate.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quicktemplates2/qquickswitchdelegate.cpp b/src/quicktemplates2/qquickswitchdelegate.cpp index adaf10c3..190152b8 100644 --- a/src/quicktemplates2/qquickswitchdelegate.cpp +++ b/src/quicktemplates2/qquickswitchdelegate.cpp @@ -36,7 +36,7 @@ #include "qquickswitchdelegate_p.h" -#include "qquickabstractbutton_p_p.h" +#include "qquickitemdelegate_p_p.h" QT_BEGIN_NAMESPACE @@ -69,7 +69,7 @@ QT_BEGIN_NAMESPACE \sa {Customizing SwitchDelegate}, {Delegate Controls} */ -class QQuickSwitchDelegatePrivate : public QQuickAbstractButtonPrivate +class QQuickSwitchDelegatePrivate : public QQuickItemDelegatePrivate { Q_DECLARE_PUBLIC(QQuickSwitchDelegate) |