summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorChristoph Berg <christoph.berg@credativ.de>2020-06-26 09:28:37 +0200
committerChristoph Berg <christoph.berg@credativ.de>2020-06-26 09:28:37 +0200
commit28f34ff4908a90b1a7323b2988c33cdb1779fa06 (patch)
tree441994b458ea44a1c1019a365d4ec379c34da04f /main.cpp
parentee0e1a654b7e64accea78a5aa66ec1e62bd352c8 (diff)
New upstream version 2.2.2+repackupstream/2.2.2+repack
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index bce897ad..4943f2f0 100644
--- a/main.cpp
+++ b/main.cpp
@@ -49,6 +49,7 @@ extern "C" {
namespace
{
+#if QT_VERSION < QT_VERSION_CHECK (5, 15, 0)
struct RNGSetup
{
RNGSetup ()
@@ -58,6 +59,7 @@ namespace
qsrand (seed); // this is good for rand() as well
}
} seeding;
+#endif
// We can't use the GUI after QApplication::exit() is called so
// uncaught exceptions can get lost on Windows systems where there