mirror of
https://github.com/YaoFANGUK/video-subtitle-remover.git
synced 2026-05-06 09:17:30 +08:00
CPU版本硬件加速给予友好提示
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user