From 7c6c08a8ba16469522eb0589355df812896c2068 Mon Sep 17 00:00:00 2001 From: Alessandro Portale Date: Tue, 12 Mar 2024 12:27:00 +0100 Subject: [PATCH] Welcome: Draw stroke for hovered items As specified by design. Change-Id: Ia766ca16e3ce233aa73ac75d48d70b1379c39c37 Reviewed-by: Alessandro Portale --- src/plugins/coreplugin/welcomepagehelper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/coreplugin/welcomepagehelper.h b/src/plugins/coreplugin/welcomepagehelper.h index e55a5663e9a..a93d157c81a 100644 --- a/src/plugins/coreplugin/welcomepagehelper.h +++ b/src/plugins/coreplugin/welcomepagehelper.h @@ -62,7 +62,7 @@ constexpr qreal defaultCardBackgroundRounding = 3.75; constexpr Utils::Theme::Color cardDefaultBackground = Utils::Theme::Token_Background_Muted; constexpr Utils::Theme::Color cardDefaultStroke = Utils::Theme::Token_Stroke_Subtle; constexpr Utils::Theme::Color cardHoverBackground = Utils::Theme::Token_Background_Subtle; -constexpr Utils::Theme::Color cardHoverStroke = cardHoverBackground; +constexpr Utils::Theme::Color cardHoverStroke = cardDefaultStroke; CORE_EXPORT void drawCardBackground(QPainter *painter, const QRectF &rect, const QBrush &fill, const QPen &pen = QPen(Qt::NoPen), qreal rounding = defaultCardBackgroundRounding);