diff --git a/0001-fix-city-name-display-issue-when-offline.patch b/0001-fix-city-name-display-issue-when-offline.patch new file mode 100644 index 0000000..41deef6 --- /dev/null +++ b/0001-fix-city-name-display-issue-when-offline.patch @@ -0,0 +1,24 @@ +From a853253406dc1c12cc20ee4383d3208dd5611ce2 Mon Sep 17 00:00:00 2001 +From: dou33 +Date: Tue, 26 Oct 2021 17:33:51 +0800 +Subject: [PATCH] fix city name display issue when offline + +--- + src/mainwindow.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp +index 3064a87..02a5875 100755 +--- a/src/mainwindow.cpp ++++ b/src/mainwindow.cpp +@@ -557,6 +557,7 @@ void MainWindow::setAbnormalMainWindow() + ui->lbCurrTmpUnit->setText(""); + ui->lbCurrWea->setText(""); + ui->lbCurrHum->setText(""); ++ cityLabel->setText(""); + + ForecastWeather abnormalForecastweather; + for (int i=0; i<7; i++) { +-- +2.24.3 (Apple Git-128) + diff --git a/indicator-china-weather.spec b/indicator-china-weather.spec index 156f7fb..d664a9a 100644 --- a/indicator-china-weather.spec +++ b/indicator-china-weather.spec @@ -1,7 +1,7 @@ %define debug_package %{nil} Name: indicator-china-weather Version: 3.1.0 -Release: 3 +Release: 4 Summary: The weather data are from the heweather API s6 version. License: GPL-3.0+ URL: https://github.com/UbuntuKylin/indicator-china-weather @@ -66,6 +66,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/man/man1/indicator-china-weather.1.gz %changelog +* Wed Oct 27 2021 douyan - 3.1.0-4 +- fix city name display issue when offline + * Tue Oct 26 2021 douyan - 3.1.0-3 - fix vnc show issue