31 lines
1.2 KiB
Diff
31 lines
1.2 KiB
Diff
From bbc782ebca691f8a93d2f17c3fb8b2f0bf87ae9d Mon Sep 17 00:00:00 2001
|
|
From: liuxinhao <liuxinhao@kylinsec.com.cn>
|
|
Date: Thu, 18 Aug 2022 20:31:25 +0800
|
|
Subject: [PATCH 1/2] fix(battery idle): remove invalid idle shutdown display
|
|
option
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
- 移除掉无效的空闲关闭显示器选项
|
|
Closes #I5M336
|
|
---
|
|
.../power/src/pages/battery-settings/battery-settings-page.cpp | 1 -
|
|
1 file changed, 1 deletion(-)
|
|
|
|
diff --git a/plugins/power/src/pages/battery-settings/battery-settings-page.cpp b/plugins/power/src/pages/battery-settings/battery-settings-page.cpp
|
|
index 3dd50af..222d9bb 100644
|
|
--- a/plugins/power/src/pages/battery-settings/battery-settings-page.cpp
|
|
+++ b/plugins/power/src/pages/battery-settings/battery-settings-page.cpp
|
|
@@ -65,7 +65,6 @@ void BatterySettingsPage::initUI()
|
|
///计算机空闲进行的操作
|
|
// clang-format off
|
|
QMap<QString, int> computerIdleActionsMap = {
|
|
- {tr("Display Off"), POWER_ACTION_DISPLAY_OFF},
|
|
{tr("Suspend"), POWER_ACTION_COMPUTER_SUSPEND},
|
|
{tr("Shutdown"), POWER_ACTION_COMPUTER_SHUTDOWN},
|
|
{tr("Hibernate"), POWER_ACTION_COMPUTER_HIBERNATE},
|
|
--
|
|
2.36.1
|
|
|