fix: allow -ween variants for all cats

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2022-11-06 00:04:43 +01:00
parent 369419870e
commit a0580946dc
No known key found for this signature in database
GPG Key ID: C10411294912A422

View File

@ -1564,7 +1564,7 @@ void MainWindow::setCatBackground(bool enabled)
QString cat = APPLICATION->settings()->get("BackgroundCat").toString();
if (non_stupid_abs(now.daysTo(xmas)) <= 4) {
cat += "-xmas";
} else if (cat == "kitteh" && non_stupid_abs(now.daysTo(halloween)) <= 4) {
} else if (non_stupid_abs(now.daysTo(halloween)) <= 4) {
cat += "-ween";
} else if (non_stupid_abs(now.daysTo(birthday)) <= 12) {
cat += "-bday";