summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2018-12-24 14:31:34 +0100
committerPetr Mrázek <peterix@gmail.com>2018-12-24 14:31:34 +0100
commit70052b180ca37b24252df87f0aa34360275e1066 (patch)
treedd03539c392fa44e61e98f5ae9eb6770d9454367
parent2e58429b6a8365e22ec76730f2f0f5d0a6a5b370 (diff)
downloadMultiMC-70052b180ca37b24252df87f0aa34360275e1066.tar
MultiMC-70052b180ca37b24252df87f0aa34360275e1066.tar.gz
MultiMC-70052b180ca37b24252df87f0aa34360275e1066.tar.lz
MultiMC-70052b180ca37b24252df87f0aa34360275e1066.tar.xz
MultiMC-70052b180ca37b24252df87f0aa34360275e1066.zip
NOISSUE maybe fix macos build, pngcrush images
-rw-r--r--application/MainWindow.cpp2
-rw-r--r--application/resources/backgrounds/catbgrnd2.pngbin78285 -> 62973 bytes
-rw-r--r--application/resources/backgrounds/catmas.pngbin99478 -> 72818 bytes
3 files changed, 1 insertions, 1 deletions
diff --git a/application/MainWindow.cpp b/application/MainWindow.cpp
index 5880762a..a1066718 100644
--- a/application/MainWindow.cpp
+++ b/application/MainWindow.cpp
@@ -1248,7 +1248,7 @@ void MainWindow::setCatBackground(bool enabled)
QDateTime now = QDateTime::currentDateTime();
QDateTime xmas(QDate(now.date().year(), 12, 25), QTime(0, 0));
;
- QString cat = (abs(now.daysTo(xmas)) <= 4) ? "catmas" : "kitteh";
+ QString cat = (std::abs(now.daysTo(xmas)) <= 4) ? "catmas" : "kitteh";
view->setStyleSheet(QString(R"(
GroupView
{
diff --git a/application/resources/backgrounds/catbgrnd2.png b/application/resources/backgrounds/catbgrnd2.png
index 2b949e0b..e9de7f27 100644
--- a/application/resources/backgrounds/catbgrnd2.png
+++ b/application/resources/backgrounds/catbgrnd2.png
Binary files differ
diff --git a/application/resources/backgrounds/catmas.png b/application/resources/backgrounds/catmas.png
index cca96c63..8bdb1d5c 100644
--- a/application/resources/backgrounds/catmas.png
+++ b/application/resources/backgrounds/catmas.png
Binary files differ