1 | // Copyright (C) 2022 The Qt Company Ltd. |
---|---|
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
3 | |
4 | #include "qquickfusiontheme_p.h" |
5 | |
6 | #include <QtQuickTemplates2/private/qquicktheme_p.h> |
7 | #include <QtQuickControls2/private/qquickstyle_p.h> |
8 | |
9 | QT_BEGIN_NAMESPACE |
10 | |
11 | void QQuickFusionTheme::initialize(QQuickTheme *theme) |
12 | { |
13 | // Enable platform palettes for fusion theme. |
14 | if (theme) |
15 | theme->setUsePlatformPalette(true); |
16 | } |
17 | |
18 | QT_END_NAMESPACE |
19 |