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