ukui-greeter/fix-default-wallpaper.patch
2020-07-24 15:07:20 +08:00

22 lines
809 B
Diff
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

diff -ur ukui-greeter-master/ukui-greeter/common/configuration.cpp ukui-greeter~/ukui-greeter/common/configuration.cpp
--- ukui-greeter-master/ukui-greeter/common/configuration.cpp 2020-07-11 17:12:01.000000000 +0800
+++ ukui-greeter~/ukui-greeter/common/configuration.cpp 2020-07-16 17:49:32.447647884 +0800
@@ -81,8 +81,7 @@
/**
- * 获å<C2B7>系统版本å<C2AC>·
- */
+ * 获å<C2B7>系统版本å<C2AC>? */
QString getSystemVersion()
{
QSettings settings("/etc/lsb-release", QSettings::IniFormat);
@@ -164,6 +163,6 @@
else if(getSystemVersion().contains("V10.1",Qt::CaseInsensitive))
return "/usr/share/backgrounds/warty-final-ubuntukylin.jpg";
else
- return "/usr/share/backgrounds/kylin/kylin-background.png";
+ return "/usr/share/backgrounds/warty-final-ubuntukylin.jpg";
}