aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2/qquickswitchdelegate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/quicktemplates2/qquickswitchdelegate.cpp')
-rw-r--r--src/quicktemplates2/qquickswitchdelegate.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/quicktemplates2/qquickswitchdelegate.cpp b/src/quicktemplates2/qquickswitchdelegate.cpp
index aefe2e6d..286d253b 100644
--- a/src/quicktemplates2/qquickswitchdelegate.cpp
+++ b/src/quicktemplates2/qquickswitchdelegate.cpp
@@ -148,6 +148,11 @@ qreal QQuickSwitchDelegate::visualPosition() const
return d->position;
}
+QFont QQuickSwitchDelegate::defaultFont() const
+{
+ return QQuickControlPrivate::themeFont(QPlatformTheme::ListViewFont);
+}
+
void QQuickSwitchDelegate::mirrorChange()
{
QQuickItemDelegate::mirrorChange();