diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2017-04-13 13:19:32 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2017-06-12 06:14:46 +0000 |
commit | f17095653ed54c7c253ade6ff639cae6a372cb08 (patch) | |
tree | 6147e6f03d025b41a7a6fa36b68eca999319067a /src/corelib/plugin/quuid.h | |
parent | 5483b30868e44bc0799d7a1998f1907775f50fec (diff) |
QUuid, QHttpMultipart and QHash: use QRandomGenerator
QRandomGenerator can produce more than 31 bits of data. And it uses
/dev/urandom for us on Unix, so QHash does not need to duplicate that
part.
Change-Id: Icd0e0d4b27cb4e5eb892fffd14b52a0d91f179eb
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/corelib/plugin/quuid.h')
-rw-r--r-- | src/corelib/plugin/quuid.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/plugin/quuid.h b/src/corelib/plugin/quuid.h index d975528dcf..9e1a35f492 100644 --- a/src/corelib/plugin/quuid.h +++ b/src/corelib/plugin/quuid.h @@ -65,6 +65,7 @@ QT_BEGIN_NAMESPACE class Q_CORE_EXPORT QUuid { + QUuid(Qt::Initialization) {} public: enum Variant { VarUnknown =-1, |