diff options
author | Dheerendra Purohit <[email protected]> | 2025-03-27 15:37:09 +0530 |
---|---|---|
committer | Dheerendra Purohit <[email protected]> | 2025-07-04 13:31:18 +0000 |
commit | c0b19de6eee4883113f95c36bb20c61dadb70a74 (patch) | |
tree | 61f6214672f9af72d7036e557dc49a12c32d791e /src/gui/kernel/qplatformthemeplugin.cpp | |
parent | 4aada3e21836550b941b5e7249983830005831c6 (diff) |
Doc : Fix QDateTime::toTimeZone example to remove deprecated toTimeSpec
Replace the use of QDateTime::toTimeSpec(QTimeZone::UTC)
in the QDateTime::toTimeZone documentation example with
QDateTime::toTimeZone(QTimeZone::UTC).
The previous example was incorrect, as toTimeSpec does not
accept QTimeZone.
This update ensures the example compiles and aligns with
the correct API usage.
Pick-to: 6.10 6.9 6.8
Fixes: QTBUG-135238
Change-Id: Iba137e50eb9a66cac6dfff5a3868a58ce275a2b7
Reviewed-by: Edward Welbourne <[email protected]>
Diffstat (limited to 'src/gui/kernel/qplatformthemeplugin.cpp')
0 files changed, 0 insertions, 0 deletions