From 28f34ff4908a90b1a7323b2988c33cdb1779fa06 Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Fri, 26 Jun 2020 09:28:37 +0200 Subject: New upstream version 2.2.2+repack --- main.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'main.cpp') 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 -- cgit v1.2.3