From 2e965ca8b766389e93540eb95aa5dd9d258cae11 Mon Sep 17 00:00:00 2001 From: Shawn Rutledge Date: Fri, 17 Jan 2014 15:00:07 +0100 Subject: Android: default palette taken from the Holo Light theme Currently QAndroidPlatformTheme::palette has been returning null so the default colors came from elsewhere. Now they will default to colors taken from the Holo Light theme to the extent possible. Change-Id: I022c5ef679d9d0dcb76721a4d520492bc8a6f4cf Reviewed-by: BogDan Vatra --- src/plugins/platforms/android/qandroidplatformtheme.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/plugins/platforms/android/qandroidplatformtheme.h') diff --git a/src/plugins/platforms/android/qandroidplatformtheme.h b/src/plugins/platforms/android/qandroidplatformtheme.h index 544061a7a2..9df445ef17 100644 --- a/src/plugins/platforms/android/qandroidplatformtheme.h +++ b/src/plugins/platforms/android/qandroidplatformtheme.h @@ -43,6 +43,8 @@ #define QANDROIDPLATFORMTHEME_H #include +#include + class QAndroidPlatformNativeInterface; class QAndroidPlatformTheme: public QPlatformTheme { @@ -61,6 +63,7 @@ public: private: QAndroidPlatformNativeInterface * m_androidPlatformNativeInterface; + QPalette m_defaultPalette; }; #endif // QANDROIDPLATFORMTHEME_H -- cgit v1.2.3