From 3b52e60d4e3611abc11e65240dda58fcd69946fd 2014-06-16 07:43:35 From: Maurice Kalinowski Date: 2014-06-16 07:43:35 Subject: [PATCH] WinRT: Fix compilation Change-Id: I2700c9d9847aaa02cec2348307ca2611bf3ee25e Reviewed-by: Tomi Korpipää Reviewed-by: Titta Heikkala --- diff --git a/src/themes/chartthemesystem_p.h b/src/themes/chartthemesystem_p.h index a0e7cf2..e0d21ef 100644 --- a/src/themes/chartthemesystem_p.h +++ b/src/themes/chartthemesystem_p.h @@ -44,7 +44,7 @@ public: // System theme not used at the moment (the user is not able to select this theme) ChartThemeSystem() : ChartTheme(QChart::ChartThemeLight /*QChart::ChartThemeSystem*/) { -#ifdef Q_OS_WIN +#if defined(Q_OS_WIN) && !defined(Q_OS_WINRT) // We could also use theme specific window frame color as a series base color (it would give more // variation to the base colors in addition to the blue and black used now)