Commit 0709887
committed
Fix wrong failure-msg when clearing photo-cache.
bool GeophotoService::clearCache returns false, if any of the cleared caches was already empty.
Accordingly a failure-msg is shown in the maps-GUI.
This change makes the function always return true unless an exception occurred - then false is returned.
Signed-off-by: umgfoin <[email protected]>1 parent a0cfc6b commit 0709887
1 file changed
+10
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
82 | 87 | | |
83 | 88 | | |
84 | 89 | | |
| |||
0 commit comments