aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRosemary Witchaven <32779090+in1tiate@users.noreply.github.com>2022-07-29 11:23:36 -0500
committerGitHub <noreply@github.com>2022-07-29 18:23:36 +0200
commite36d79f7499ca4484585fad7738df4764f3fd0aa (patch)
tree3256a4c8b941817387ef65136232cfbb347849e9 /include
parent834c5ff929d9044fc1237655c5d5ad4ae8a653cf (diff)
Fix or suppress compiler warnings (Qt 5.15 w/MinGW) (#818)
* Major cleanup of screenshake code * Add pre-5.10 support for screenshake math * more compat, uglier too * add surprise tool * we don't need inline functions * only run qsrand on old versions * Squash compiler warnings * >= not > please * only run qsrand on old versions * Squash compiler warnings * >= not > please Co-authored-by: stonedDiscord <Tukz@gmx.de> Co-authored-by: Salanto <62221668+Salanto@users.noreply.github.com>
Diffstat (limited to 'include')
-rw-r--r--include/courtroom.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/courtroom.h b/include/courtroom.h
index 88e6037..479b105 100644
--- a/include/courtroom.h
+++ b/include/courtroom.h
@@ -52,7 +52,7 @@
#include <QMessageBox>
#include <QParallelAnimationGroup>
#include <QPropertyAnimation>
-#if QT_VERSION > QT_VERSION_CHECK(5, 10, 0)
+#if QT_VERSION >= QT_VERSION_CHECK(5, 10, 0)
#include <QRandomGenerator> //added in Qt 5.10
#endif
#include <QRegExp>