fix: openkylin
Description: I5XA15 【控制面板】【需求16039】显示器色温未增加跟随日出日落的自动色温方案 Log: I5XA15 【控制面板】【需求16039】显示器色温未增加跟随日出日落的自动色温方案 Bug: https://gitee.com/openkylin/ukui-control-center/issues/I5XA15
This commit is contained in:
parent
7738479fdc
commit
defedbf9a3
|
@ -1,6 +1,15 @@
|
|||
ukui-control-center (3.22.1.25-ok28) yangtze; urgency=medium
|
||||
|
||||
* bug#I5XA15 【控制面板】【需求16039】显示器色温未增加跟随日出日落的自动色温方案
|
||||
* 任务:无
|
||||
* 需求:无
|
||||
* 任务:无
|
||||
* 其他改动:更改changelog,重新编译
|
||||
|
||||
-- zhoubin <zhoubin@kylinos.cn> Tue, 20 Jun 2023 13:49:11 +0800
|
||||
|
||||
ukui-control-center (3.22.1.25-ok27) yangtze; urgency=medium
|
||||
|
||||
* 提交commit:dd6b8bd9
|
||||
* bug#172275【界面用语规范落地-走查】【提权】提权界面文案内容优化
|
||||
* 任务:无
|
||||
* 需求:无
|
||||
|
|
|
@ -2149,13 +2149,15 @@ void Widget::initNightStatus()
|
|||
QString property = "org.ukui.kwin.ColorCorrect";
|
||||
if (UkccCommon::isOpenkylin()) {
|
||||
service = "org.kde.KWin";
|
||||
property = "org.ukui.kde.ColorCorrect";
|
||||
property = "org.kde.kwin.ColorCorrect";
|
||||
}
|
||||
|
||||
|
||||
QDBusInterface colorIft(service,
|
||||
"/ColorCorrect",
|
||||
"org.freedesktop.DBus.Properties",
|
||||
QDBusConnection::sessionBus());
|
||||
if (colorIft.isValid() && !UkccCommon::isOpenkylin() && !UkccCommon::isWayland()) {
|
||||
if (colorIft.isValid()) {
|
||||
this->mRedshiftIsValid = true;
|
||||
QDBusReply<QVariant> reply = colorIft.call("Get", property, "available");
|
||||
if (!reply.value().toBool()) {
|
||||
|
|
Loading…
Reference in New Issue