Skip to content

Commit

Permalink
fix a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
zoff99 committed Apr 6, 2023
1 parent 1878062 commit 458f6e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/appmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,11 @@ void AppManager::preConstructionInitialization()

int AppManager::run()
{
#if QT_VERSION < QT_VERSION_CHECK( 5, 10, 0 )
// seeding random number generator once
qsrand(QDateTime::currentMSecsSinceEpoch()%UINT_MAX);
qDebug() << "seending random number generator ...";
#endif

#if defined(Q_OS_UNIX)
// PosixSignalNotifier is used only for terminating signals,
Expand Down

0 comments on commit 458f6e5

Please sign in to comment.