From 2fac2a38040e8996d2a91e8f043dcfb924893d5b Mon Sep 17 00:00:00 2001 From: Patrizio Bekerle Date: Fri, 30 Nov 2018 17:08:31 +0100 Subject: fixed a typo (#55) --- singleapplication.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/singleapplication.cpp b/singleapplication.cpp index 8dd94a8..a797231 100644 --- a/singleapplication.cpp +++ b/singleapplication.cpp @@ -91,7 +91,7 @@ SingleApplication::SingleApplication( int &argc, char *argv[], bool allowSeconda d->memory->unlock(); - // Random sleep here limits the probability of a colision between two racing apps + // Random sleep here limits the probability of a collision between two racing apps qsrand( QDateTime::currentMSecsSinceEpoch() % std::numeric_limits::max() ); QThread::sleep( 8 + static_cast ( static_cast ( qrand() ) / RAND_MAX * 10 ) ); } -- cgit v1.2.1