Skip to content

Commit

Permalink
libshell|Fixed: Set the random seed number for ServerFinder
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Feb 7, 2013
1 parent f41e461 commit 5e1faf5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doomsday/libshell/src/serverfinder.cpp
Expand Up @@ -79,6 +79,8 @@ struct ServerFinder::Instance

ServerFinder::ServerFinder() : d(new Instance)
{
qsrand(Time().asDateTime().toTime_t());

connect(&d->beacon, SIGNAL(found(de::Address, de::Block)), this, SLOT(found(de::Address, de::Block)));
QTimer::singleShot(1000, this, SLOT(expire()));

Expand Down

0 comments on commit 5e1faf5

Please sign in to comment.