修复bug

This commit is contained in:
liyp 2022-05-11 08:33:54 +08:00
parent e7c50aa484
commit 742ff7547e
2 changed files with 1 additions and 2 deletions

View file

@ -24,7 +24,6 @@ class MyDay(QWidget):
background = get_myday_important_conf('MyDay', 'Theme') background = get_myday_important_conf('MyDay', 'Theme')
if not background: if not background:
background = '0' background = '0'
else:
self.setStyleSheet('#my_day{background-image:url("../images/' + background + '.jpg");border-radius: 10px;}') self.setStyleSheet('#my_day{background-image:url("../images/' + background + '.jpg");border-radius: 10px;}')
# 下面这一句有问题,需要修复修改主题的实现方法 # 下面这一句有问题,需要修复修改主题的实现方法
# self.setStyleSheet('#my_day{background-image:url("../images/2.jpg");') # self.setStyleSheet('#my_day{background-image:url("../images/2.jpg");')