diff options
Diffstat (limited to 'src/quickcontrolstestutils/controlstestutils.cpp')
-rw-r--r-- | src/quickcontrolstestutils/controlstestutils.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/quickcontrolstestutils/controlstestutils.cpp b/src/quickcontrolstestutils/controlstestutils.cpp index f565751c0d..5330b8ebbd 100644 --- a/src/quickcontrolstestutils/controlstestutils.cpp +++ b/src/quickcontrolstestutils/controlstestutils.cpp @@ -1,5 +1,5 @@ // Copyright (C) 2021 The Qt Company Ltd. -// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only #include "controlstestutils_p.h" @@ -178,3 +178,8 @@ Q_INVOKABLE QQmlComponent *QQuickControlsTestUtils::ComponentCreator::createComp qmlWarning(this) << "Failed to create component from the following data:\n" << data; return component.release(); } + +QString QQuickControlsTestUtils::StyleInfo::styleName() const +{ + return QQuickStyle::name(); +} |