aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRosemary Witchaven <32779090+in1tiate@users.noreply.github.com>2022-07-23 10:19:06 -0500
committerGitHub <noreply@github.com>2022-07-23 18:19:06 +0300
commit0519abab0343835eeb2a33d65ad85f2f68200156 (patch)
treeafb4d0f2c7e14f859710fff76803a2d56683d164 /include
parent8138187f922862224960219068914adb686c8cb5 (diff)
Fix multiple issues with screenshake code (#812)
* 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
Diffstat (limited to 'include')
-rw-r--r--include/courtroom.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/courtroom.h b/include/courtroom.h
index eee84a6..0c53c95 100644
--- a/include/courtroom.h
+++ b/include/courtroom.h
@@ -52,6 +52,9 @@
#include <QMessageBox>
#include <QParallelAnimationGroup>
#include <QPropertyAnimation>
+#if QT_VERSION > QT_VERSION_CHECK(5, 10, 0)
+#include <QRandomGenerator> //added in Qt 5.10
+#endif
#include <QRegExp>
#include <QScrollBar>
#include <QTextBoundaryFinder>