aboutsummaryrefslogtreecommitdiff
path: root/src/base
diff options
context:
space:
mode:
Diffstat (limited to 'src/base')
-rw-r--r--src/base/QXmppStream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/QXmppStream.cpp b/src/base/QXmppStream.cpp
index e3b62462..ec0ff48a 100644
--- a/src/base/QXmppStream.cpp
+++ b/src/base/QXmppStream.cpp
@@ -69,7 +69,7 @@ QXmppStream::QXmppStream(QObject *parent)
// Make sure the random number generator is seeded
if (!randomSeeded)
{
- qsrand(QTime(0,0,0).secsTo(QTime::currentTime()));
+ qsrand(QTime(0,0,0).msecsTo(QTime::currentTime()) ^ reinterpret_cast<quintptr>(this));
randomSeeded = true;
}
}