From 742ff7547e4c7f1851480355d5b11bed065cfe64 Mon Sep 17 00:00:00 2001 From: liyp Date: Wed, 11 May 2022 08:33:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- {main => test}/main1.py | 0 view/MyDayView.py | 3 +-- 2 files changed, 1 insertion(+), 2 deletions(-) rename {main => test}/main1.py (100%) diff --git a/main/main1.py b/test/main1.py similarity index 100% rename from main/main1.py rename to test/main1.py diff --git a/view/MyDayView.py b/view/MyDayView.py index ff7ee2a..d2960ce 100644 --- a/view/MyDayView.py +++ b/view/MyDayView.py @@ -24,8 +24,7 @@ class MyDay(QWidget): background = get_myday_important_conf('MyDay', 'Theme') if not background: 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");')