Skip to content

Commit

Permalink
Doc: Fix snippet for QRandomGenerator64 docs
Browse files Browse the repository at this point in the history
Pick-to: 6.2 6.1 5.15
Fixes: QTBUG-94347
Change-Id: Iaf007534214cffc83858833e80dad447df9b297a
Reviewed-by: Edward Welbourne <[email protected]>
  • Loading branch information
paulwicking committed Jun 14, 2021
1 parent 507499d commit b43ec7e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,5 +127,5 @@
//! [15]

//! [16]
qint64 value = QRandomGenerator64::generate() & std::numeric_limits<qint64>::max();
qint64 value = QRandomGenerator64::global()->generate() & std::numeric_limits<qint64>::max();
//! [16]

0 comments on commit b43ec7e

Please sign in to comment.