From 4bf0ca44306c8e32daedf76ea1aeca5d1fdbb25d Mon Sep 17 00:00:00 2001 From: huayadong Date: Sun, 7 Feb 2021 16:33:42 +0800 Subject: [PATCH] [alarm clock] add theme icon to monitor --- src/plugins/ukui-clock/clock.cpp | 5 +++++ src/plugins/ukui-clock/clock.h | 10 ++++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/src/plugins/ukui-clock/clock.cpp b/src/plugins/ukui-clock/clock.cpp index 2b6d33df..be3d457e 100644 --- a/src/plugins/ukui-clock/clock.cpp +++ b/src/plugins/ukui-clock/clock.cpp @@ -229,12 +229,17 @@ void Clock::settingsStyle() connect(style_settings, &QGSettings::changed, this, [=] (const QString &key){ if(key==STYLE_NAME){ + qDebug()<<"STYLE_NAME : "<get(STYLE_NAME).toString())){ blackStyle(); }else{ whiteStyle(); } } + if(key==STYLE_ICON_NAME || key==STYLE_ICON){ + qDebug()<<"STYLE_ICON_NAME : "<