aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlcompiler/qqmljsstorageinitializer.cpp
diff options
context:
space:
mode:
authorOliver Eftevaag <oliver.eftevaag@qt.io>2024-11-14 19:48:01 +0100
committerOliver Eftevaag <oliver.eftevaag@qt.io>2024-11-28 09:40:47 +0100
commitf2920663dcd35cadcd1dad2f25eed620acedda72 (patch)
tree8277ac7b99ca1c7fc4b85f16ec4744f214084496 /src/qmlcompiler/qqmljsstorageinitializer.cpp
parentf057116c2499eaeccfd9894ce8fe6593b77cdd3b (diff)
Dialogs: Only import the QQC2 module used by the style
The QtQuick.Controls and QtQuick.Controls.impl modules were imported by our non-native dialogs, along with the style specific modules (e.g. QtQuick.Controls.Fusion and QtQuick.Controls.Fusion.impl). This is not only unnecessary, but it also causes the styles to occasionally mix. Making the look and feel inconsistent. (e.g when using the QQC2 macOS style, the non-native dialog would be a hybrid between the macOS style and fusion style). Fix this by only importing the QQC2 module that's associated with the QuickDialogsQuickImpl style used. Pick-to: 6.8 Change-Id: I154e3eeca096e7da379fadac4966e5120858ca5d Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/qmlcompiler/qqmljsstorageinitializer.cpp')
0 files changed, 0 insertions, 0 deletions