From 0e364fb132417f7e439f9779a43dd507b08a81bf Mon Sep 17 00:00:00 2001 From: like Date: Thu, 20 Jun 2024 15:37:44 +0800 Subject: [PATCH] =?UTF-8?q?IA67NF=20=E3=80=90=E4=B8=BB=E9=A2=98=E5=88=B6?= =?UTF-8?q?=E4=BD=9C=E5=B7=A5=E5=9D=8A=E3=80=91=E3=80=90=E4=B8=BB=E8=A6=81?= =?UTF-8?q?=E3=80=91=E3=80=90grub=E8=83=8C=E6=99=AF=E3=80=91=E5=AF=BC?= =?UTF-8?q?=E5=85=A5=E7=AC=A6=E5=90=88=E8=A6=81=E6=B1=82=E7=9A=84png?= =?UTF-8?q?=E5=9B=BE=E7=89=87=EF=BC=8C=E6=8F=90=E7=A4=BA=E8=AF=A5=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E4=B8=8D=E6=98=AFjpg=E6=96=87=E4=BB=B6=EF=BC=8C?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E6=97=A0=E6=B3=95=E5=AF=BC=E5=85=A5=E5=9B=BE?= =?UTF-8?q?=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/module/grubthemewidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/module/grubthemewidget.cpp b/src/module/grubthemewidget.cpp index 074f5b1..4102720 100644 --- a/src/module/grubthemewidget.cpp +++ b/src/module/grubthemewidget.cpp @@ -147,7 +147,7 @@ void GrubThemeWidget::initEditWidget() // 如果选择的文件路径不为空 if (!newFilePath.isEmpty()) { // 判断选择的文件是否是合法的壁纸文件 - if(FileCheck::isLegalWallPaperFile(newFilePath,"wallpaper")){ + if(FileCheck::isLegalWallPaperFile(newFilePath,"grub")){ // 更新背景预览 m_preview->updateBackground(newFilePath); // 加载图片文件并创建一个QPixmap对象