Verified Commit 8a35e341 authored by Fushan Wen's avatar Fushan Wen
Browse files

kcms/colors: update accent color reply type

It now uses uint to represent a RGBA value.

(cherry picked from commit a8d63574)
parent 2eb89785
Pipeline #233316 passed with stage
in 6 minutes and 25 seconds
......@@ -445,9 +445,9 @@ void KCMColors::applyWallpaperAccentColor()
void KCMColors::wallpaperAccentColorArrivedSlot(QDBusPendingCallWatcher *call)
{
QDBusPendingReply<QString> reply = *call;
QDBusPendingReply<uint> reply = *call;
if (!reply.isError()) {
setAccentColor(QColor(reply.value()));
setAccentColor(QColor::fromRgba(reply.value()));
}
call->deleteLater();
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment