mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-07-14 06:44:35 -04:00
Qt v5.15 compatibility
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user