kcms/colors: update accent color reply type

It now uses uint to represent a RGBA value.

(cherry picked from commit a8d635744608f7d426a5301ae3ad450a3237d007)
wilder-5.26
Fushan Wen 4 years ago
parent 2eb8978517
commit 8a35e3418b
No known key found for this signature in database
GPG Key ID: 2E48D1487C91DCAA
  1. 4
      kcms/colors/colors.cpp

@ -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();
}

Loading…
Cancel
Save