Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qquickfusiontheme.cpp
Go to the documentation of this file.
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// Qt-Security score:significant reason:default
4
6
7#include <QtQuickTemplates2/private/qquicktheme_p.h>
8#include <QtQuickControls2/private/qquickstyle_p.h>
9
11
12void QQuickFusionTheme::initialize(QQuickTheme *theme)
13{
14 // Enable platform palettes for fusion theme.
15 if (theme)
16 theme->setUsePlatformPalette(true);
17}
18
19QT_END_NAMESPACE