diff options
author | Petr Mrázek <peterix@gmail.com> | 2018-12-24 14:31:34 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2018-12-24 14:31:34 +0100 |
commit | 70052b180ca37b24252df87f0aa34360275e1066 (patch) | |
tree | dd03539c392fa44e61e98f5ae9eb6770d9454367 /application/MainWindow.cpp | |
parent | 2e58429b6a8365e22ec76730f2f0f5d0a6a5b370 (diff) | |
download | PrismLauncher-70052b180ca37b24252df87f0aa34360275e1066.tar.gz PrismLauncher-70052b180ca37b24252df87f0aa34360275e1066.tar.bz2 PrismLauncher-70052b180ca37b24252df87f0aa34360275e1066.zip |
NOISSUE maybe fix macos build, pngcrush images
Diffstat (limited to 'application/MainWindow.cpp')
-rw-r--r-- | application/MainWindow.cpp | 2 |
1 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 { |