Mercurial > minori
comparison src/gui/pages/seasons.cc @ 355:83e6ba09338f
gui/pages/seasons: fix function disambiguation on win32
| author | Paper <paper@paper.us.eu.org> |
|---|---|
| date | Sun, 14 Jul 2024 23:46:18 -0400 |
| parents | 6b0768158dcd |
| children | f81bed4e04ac |
comparison
equal
deleted
inserted
replaced
| 354:9aaf1e788896 | 355:83e6ba09338f |
|---|---|
| 98 toolbar->setMovable(false); | 98 toolbar->setMovable(false); |
| 99 | 99 |
| 100 { | 100 { |
| 101 /* XXX this last year probably shouldn't be hardcoded */ | 101 /* XXX this last year probably shouldn't be hardcoded */ |
| 102 static const Anime::Season last_season(Anime::Season::Name::Winter, 1960); | 102 static const Anime::Season last_season(Anime::Season::Name::Winter, 1960); |
| 103 Anime::Season current_season(Date(QDate::currentDate())); | 103 Anime::Season current_season((Date(QDate::currentDate()))); |
| 104 const Date::Year year_before_collapse = GetClosestDecade(current_season.year) - 10; | 104 const Date::Year year_before_collapse = GetClosestDecade(current_season.year) - 10; |
| 105 | 105 |
| 106 /* year -> menu for that year */ | 106 /* year -> menu for that year */ |
| 107 std::map<Date::Year, QMenu*> menu_map; | 107 std::map<Date::Year, QMenu*> menu_map; |
| 108 | 108 |
