diff options
author | Patrizio Bekerle <patrizio@bekerle.com> | 2018-11-30 17:08:31 +0100 |
---|---|---|
committer | Itay Grudev <itay-grudev@users.noreply.github.com> | 2018-11-30 16:08:31 +0000 |
commit | 2fac2a38040e8996d2a91e8f043dcfb924893d5b (patch) | |
tree | 92312dea04de3d4e616407b50e4aa6efc7e64f55 | |
parent | v3.0.13a (diff) | |
download | singleapplication-2fac2a38040e8996d2a91e8f043dcfb924893d5b.tar.xz |
fixed a typo (#55)3.0.13
-rw-r--r-- | singleapplication.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<uint>::max() ); QThread::sleep( 8 + static_cast <unsigned long>( static_cast <float>( qrand() ) / RAND_MAX * 10 ) ); } |