Skip to content

The only downloader you need. 下载器的集大成者。

refactor(jy_os_page): 将 SystemInfoCard 类的父类从 CardWidget 改为 ElevatedCardWidget

XiaoYouChR68619b7f123f
diff --git a/plugins/jy_os_page.py b/plugins/jy_os_page.py
index e5a8d3ab..a8d84bae 100644
--- a/plugins/jy_os_page.py
+++ b/plugins/jy_os_page.py
@@ -10,7 +10,7 @@ from PySide6.QtWidgets import QWidget, QFrame, QVBoxLayout, QSizePolicy, QHBoxLa
from loguru import logger
from qfluentwidgets import SmoothScrollArea, TitleLabel, SettingCardGroup, OptionsConfigItem, OptionsValidator, \
ComboBoxSettingCard, FluentIcon as FIF, TextEdit, PushSettingCard, RangeSettingCard, RangeConfigItem, \
- RangeValidator, PrimaryPushButton, PushButton, MessageBox, CardWidget, RoundMenu, Action, PixmapLabel, BodyLabel, \
+ RangeValidator, PrimaryPushButton, PushButton, MessageBox, ElevatedCardWidget, RoundMenu, Action, PixmapLabel, BodyLabel, \
PrimarySplitPushButton, NavigationItemPosition, FluentStyleSheet, IndeterminateProgressRing
from qfluentwidgets.components.dialog_box.mask_dialog_base import MaskDialogBase
@@ -330,7 +330,7 @@ class Ui_SystemInfoCard(object):
# retranslateUi
-class SystemInfoCard(CardWidget, Ui_SystemInfoCard):
+class SystemInfoCard(ElevatedCardWidget, Ui_SystemInfoCard):
def __init__(self, parent=None):
super().__init__(parent=parent)
self.setupUi(self)