fix city name display issue
This commit is contained in:
parent
1090ac4c8c
commit
a1cf49d3e4
24
0001-fix-city-name-display-issue-when-offline.patch
Normal file
24
0001-fix-city-name-display-issue-when-offline.patch
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
From a853253406dc1c12cc20ee4383d3208dd5611ce2 Mon Sep 17 00:00:00 2001
|
||||||
|
From: dou33 <johnwo3396@hotmail.com>
|
||||||
|
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)
|
||||||
|
|
||||||
@ -1,7 +1,7 @@
|
|||||||
%define debug_package %{nil}
|
%define debug_package %{nil}
|
||||||
Name: indicator-china-weather
|
Name: indicator-china-weather
|
||||||
Version: 3.1.0
|
Version: 3.1.0
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: The weather data are from the heweather API s6 version.
|
Summary: The weather data are from the heweather API s6 version.
|
||||||
License: GPL-3.0+
|
License: GPL-3.0+
|
||||||
URL: https://github.com/UbuntuKylin/indicator-china-weather
|
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
|
%{_datadir}/man/man1/indicator-china-weather.1.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Oct 27 2021 douyan <douyan@kylinos.cn> - 3.1.0-4
|
||||||
|
- fix city name display issue when offline
|
||||||
|
|
||||||
* Tue Oct 26 2021 douyan <douyan@kylinos.cn> - 3.1.0-3
|
* Tue Oct 26 2021 douyan <douyan@kylinos.cn> - 3.1.0-3
|
||||||
- fix vnc show issue
|
- fix vnc show issue
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user