diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2017-03-21 17:03:55 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2017-03-22 11:17:13 +0000 |
commit | e7d03ea7aae172bb2ef5e89b89156f8ea143eca1 (patch) | |
tree | 3dcb330fdd91dcfe6b63b85a059de0d95c250bc6 /src/quickcontrols2/qquickstyle_p.h | |
parent | f7c0efb42bd7f8b331525b42ec16536c1b4862f9 (diff) |
Move isDarkTheme() to QQuickStylePrivate
QQuickStyleAttached is being generalized to a recursive attached
object type that can be used for palettes too, which are planned
to be used for the upcoming image-based style.
Change-Id: I4c1d25624ee11bb0ec6cd5ee2656c36e622e2139
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quickcontrols2/qquickstyle_p.h')
-rw-r--r-- | src/quickcontrols2/qquickstyle_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quickcontrols2/qquickstyle_p.h b/src/quickcontrols2/qquickstyle_p.h index 5f51737b..b92df3c2 100644 --- a/src/quickcontrols2/qquickstyle_p.h +++ b/src/quickcontrols2/qquickstyle_p.h @@ -66,6 +66,7 @@ public: static void reset(); static QString configFilePath(); static QSharedPointer<QSettings> settings(const QString &group = QString()); + static bool isDarkSystemTheme(); }; QT_END_NAMESPACE |