Commit 5b176f7
committed
[scolv] Robustness fixes for Nearby Cities tab
- Guard _citiesMaxCount against zero/negative config value (default 20)
- Use QOverload<int>::of() for QComboBox signal (cleaner Qt5 syntax)
- Show "-" instead of empty string for CITYTYPE_UNKNOWN in type column
- Remove extra blank lines in anonymous namespace1 parent f05c0f4 commit 5b176f7
2 files changed
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | | - | |
173 | | - | |
174 | 172 | | |
175 | 173 | | |
176 | 174 | | |
| |||
1027 | 1025 | | |
1028 | 1026 | | |
1029 | 1027 | | |
| 1028 | + | |
1030 | 1029 | | |
1031 | 1030 | | |
1032 | 1031 | | |
| |||
1038 | 1037 | | |
1039 | 1038 | | |
1040 | 1039 | | |
1041 | | - | |
| 1040 | + | |
1042 | 1041 | | |
1043 | 1042 | | |
1044 | 1043 | | |
| |||
1990 | 1989 | | |
1991 | 1990 | | |
1992 | 1991 | | |
1993 | | - | |
| 1992 | + | |
1994 | 1993 | | |
1995 | 1994 | | |
1996 | 1995 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
| |||
0 commit comments