diff options
author | Anton Kudryavtsev <anton.kudryavtsev@vk.team> | 2023-08-17 13:38:39 +0300 |
---|---|---|
committer | Anton Kudryavtsev <antkudr@mail.ru> | 2024-04-08 21:44:34 +0000 |
commit | 4565f97a5ce663afbac5b6b0d929941f7bccf9bf (patch) | |
tree | 838918f0d3bffaee90543af63824588d256f1810 /src/widgets/styles/qfusionstyle.cpp | |
parent | 61556627f25e7c7acbfcc5e54127a392b5239977 (diff) |
Widgets: Improve usage of string view types
Use string views in QFontDialog, QColorDialog and QCommonStyle
Change-Id: I22f4b4694e2d18b784aaa85aebff8d92b8f0b871
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Diffstat (limited to 'src/widgets/styles/qfusionstyle.cpp')
-rw-r--r-- | src/widgets/styles/qfusionstyle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/styles/qfusionstyle.cpp b/src/widgets/styles/qfusionstyle.cpp index d2b1524796..8147437d7f 100644 --- a/src/widgets/styles/qfusionstyle.cpp +++ b/src/widgets/styles/qfusionstyle.cpp @@ -800,7 +800,7 @@ void QFusionStyle::drawPrimitive(PrimitiveElement elem, if (isDefault) buttonColor = mergedColors(buttonColor, highlightedOutline.lighter(130), 90); - BEGIN_STYLE_PIXMAPCACHE(QStringLiteral("pushbutton-") + buttonColor.name(QColor::HexArgb)) + BEGIN_STYLE_PIXMAPCACHE(u"pushbutton-" + buttonColor.name(QColor::HexArgb)) r = rect.adjusted(0, 1, -1, 0); p->setRenderHint(QPainter::Antialiasing, true); |