CPU版本硬件加速给予友好提示

This commit is contained in:
Jason
2025-05-22 15:23:00 +08:00
parent 50c89c1217
commit 21b0c31638
8 changed files with 8 additions and 0 deletions

View File

@@ -60,6 +60,7 @@ class SettingInterface(QtWidgets.QVBoxLayout):
if not HARDWARD_ACCELERATION_OPTION:
self.hardware_acceleration.switchButton.setChecked(False)
self.hardware_acceleration.switchButton.setEnabled(False)
self.hardware_acceleration.setContent(tr["Setting"]["HardwareAccelerationNO"])
config.set(config.hardwareAcceleration, False)
# 添加一些空间
self.addStretch(1)