From 8a35e3418b223bda93f9381ce6ad0c8c33e15bfb Mon Sep 17 00:00:00 2001 From: Fushan Wen Date: Sat, 17 Sep 2022 08:49:03 +0800 Subject: [PATCH] kcms/colors: update accent color reply type It now uses uint to represent a RGBA value. (cherry picked from commit a8d635744608f7d426a5301ae3ad450a3237d007) --- kcms/colors/colors.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kcms/colors/colors.cpp b/kcms/colors/colors.cpp index 0656f2248..fe3f1f147 100644 --- a/kcms/colors/colors.cpp +++ b/kcms/colors/colors.cpp @@ -445,9 +445,9 @@ void KCMColors::applyWallpaperAccentColor() void KCMColors::wallpaperAccentColorArrivedSlot(QDBusPendingCallWatcher *call) { - QDBusPendingReply reply = *call; + QDBusPendingReply reply = *call; if (!reply.isError()) { - setAccentColor(QColor(reply.value())); + setAccentColor(QColor::fromRgba(reply.value())); } call->deleteLater(); }