mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
Merge pull request #928 from tchebb/fix-uninitialized-value
clock: initialize cached date
This commit is contained in:
commit
1ea662a08d
@ -29,7 +29,7 @@ class Clock : public ALabel {
|
|||||||
const date::time_zone* time_zone_;
|
const date::time_zone* time_zone_;
|
||||||
bool fixed_time_zone_;
|
bool fixed_time_zone_;
|
||||||
int time_zone_idx_;
|
int time_zone_idx_;
|
||||||
date::year_month_day cached_calendar_ymd_;
|
date::year_month_day cached_calendar_ymd_ = date::January/1/0;
|
||||||
std::string cached_calendar_text_;
|
std::string cached_calendar_text_;
|
||||||
|
|
||||||
bool handleScroll(GdkEventScroll* e);
|
bool handleScroll(GdkEventScroll* e);
|
||||||
|
Loading…
Reference in New Issue
Block a user