remove debugging
This commit is contained in:
@@ -21,11 +21,9 @@ int main(int argc, char *argv[])
|
||||
// QRandomGenerator generates a secure random number, which we use to seed.
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(5, 10, 0))
|
||||
unsigned int seed = QRandomGenerator::securelySeeded().generate();
|
||||
qDebug() << "yes" << QT_VERSION;
|
||||
#else
|
||||
// This will be used only during debugging for compatibility reasons
|
||||
unsigned int seed = std::time(0);
|
||||
qDebug() << "no" << QT_VERSION;
|
||||
#endif
|
||||
std::srand(seed);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user