diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-02-03 14:08:54 +0100 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-02-03 15:34:53 +0100 |
| commit | 6fea0cd57ebc3a5311c3fc040dfbc70f4921aaa0 (patch) | |
| tree | 11f77657b7ff41444651e9b61ea0d185a6e04f7b /src/quickcontrols/material/impl/qquickmaterialripple.cpp | |
| parent | aeec6218659489fc6087720d804ce927ade2350b (diff) | |
QtQuick: Fix warnings about fields anonymous namespaces
Remove anonymous namespaces, fixing warnings like:
qsgareaallocator.cpp:27:8: warning: QSGAreaAllocatorNode has a field QSGAreaAllocatorNode::splitType whose type uses the anonymous namespace [-Wsubobject-linkage]
which occur in CMake Unity (Jumbo) builds.
Pick-to: 6.5
Task-number: QTBUG-109394
Change-Id: I71e4ec5f89bbf4220efd9a8ba819ee5fb39b95e8
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/quickcontrols/material/impl/qquickmaterialripple.cpp')
| -rw-r--r-- | src/quickcontrols/material/impl/qquickmaterialripple.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/quickcontrols/material/impl/qquickmaterialripple.cpp b/src/quickcontrols/material/impl/qquickmaterialripple.cpp index 89648182d4..edd7f05d5f 100644 --- a/src/quickcontrols/material/impl/qquickmaterialripple.cpp +++ b/src/quickcontrols/material/impl/qquickmaterialripple.cpp @@ -12,9 +12,7 @@ QT_BEGIN_NAMESPACE -namespace { - enum WavePhase { WaveEnter, WaveExit }; -} +enum WavePhase { WaveEnter, WaveExit }; static const int RIPPLE_ENTER_DELAY = 80; static const int OPACITY_ENTER_DURATION_FAST = 120; |
