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 11:49:13 +0200
commit9990285acbfa40ec4478d46d9f542d227126239b (patch)
treed8f012d37c627d3d6a821bfb3be98c3e30c17718 /main.cpp
parent0e845413c25b8eddc8d6d701b9b6c5af29b2bde8 (diff)
New upstream version 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