summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@qt.io>2019-04-24 15:40:29 +0200
committerAndy Shaw <andy.shaw@qt.io>2019-06-18 11:04:22 +0000
commit9be66cb282dee1ce4380602a2f3caf5abfd144cf (patch)
tree1f385828ec91d43b25b2d837514da3e1798fc99e
parent0f3f143f6deee3b31a7dfaba07dfd517f0aee442 (diff)
downloadqtbase-9be66cb282dee1ce4380602a2f3caf5abfd144cf.tar.gz
Android: Use Android button layout for the DialogButtonBoxLayout hint
Fixes: QTBUG-70045 Change-Id: I9c51e9a769f510a6f14f6e9d78583caf3df15031 Reviewed-by: BogDan Vatra <bogdan@kdab.com>
-rw-r--r--src/plugins/platforms/android/qandroidplatformtheme.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/platforms/android/qandroidplatformtheme.cpp b/src/plugins/platforms/android/qandroidplatformtheme.cpp
index b891407c44..94405738f3 100644
--- a/src/plugins/platforms/android/qandroidplatformtheme.cpp
+++ b/src/plugins/platforms/android/qandroidplatformtheme.cpp
@@ -488,6 +488,8 @@ QVariant QAndroidPlatformTheme::themeHint(ThemeHint hint) const
Q_FALLTHROUGH();
}
+ case DialogButtonBoxLayout:
+ return QVariant(QPlatformDialogHelper::AndroidLayout);
default:
return QPlatformTheme::themeHint(hint);
}