Zandronum Chat @ irc.zandronum.com
#zandronum
Get the latest version: 3.0
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003763Doomseeker[All Projects] Cleanuppublic2020-02-13 02:432020-02-13 07:36
ReporterPol M 
Assigned ToZalewa 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version1.3.1 
Target Version1.4Fixed in Version1.4 
Summary0003763: Qt 5.14 deprecated/obsolete features (QVariant, QList toList())
DescriptionQt 5.14 has obsoleted some class members, they shouldn't be used in new code. Doomseeker has few of them.
Additional Informationhttps://doc.qt.io/qt-5/qset.html#toList [^]
https://doc.qt.io/qt-5/qvariant-obsolete.html [^]

Importing a pull request's changes to the issue tracker as an issue for tracking.
Attached Files

- Relationships

-  Notes
User avatar (0021205)
WubTheCaptain (developer)
2020-02-13 02:45

Merged by Zalewa.

https://bitbucket.org/Doomseeker/doomseeker/pull-requests/1/ [^]
https://bitbucket.org/Doomseeker/doomseeker/commits/0e00352935bef012994b48c331e079512f7fdc03 [^]
User avatar (0021206)
WubTheCaptain (developer)
2020-02-13 02:45
edited on: 2020-02-13 02:52

I am not sure why QTime had to be changed to QElapsedTime except as an optimization, but alright.

Quote from https://doc.qt.io/qt-5/qelapsedtimer.html
The QElapsedTimer class is usually used to quickly calculate how much time has elapsed between two events. Its API is similar to that of QTime, so code that was using that can be ported quickly to the new class.

However, unlike QTime, QElapsedTimer tries to use monotonic clocks if possible. This means it's not possible to convert QElapsedTimer objects to a human-readable time.


User avatar (0021209)
Pol M (developer)
2020-02-13 07:36

Qtime was used to measure differences of time. Do not worry. The class was marked as deprecated and in the warning it directly suggested to use QElapsedTime

Issue Community Support
This issue is already marked as resolved.
If you feel that is not the case, please reopen it and explain why.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2020-02-13 02:43 WubTheCaptain New Issue
2020-02-13 02:43 WubTheCaptain Status new => assigned
2020-02-13 02:43 WubTheCaptain Assigned To => WubTheCaptain
2020-02-13 02:44 WubTheCaptain Reporter WubTheCaptain => Pol M
2020-02-13 02:45 WubTheCaptain Note Added: 0021205
2020-02-13 02:45 WubTheCaptain Status assigned => resolved
2020-02-13 02:45 WubTheCaptain Fixed in Version => 1.4
2020-02-13 02:45 WubTheCaptain Resolution open => fixed
2020-02-13 02:45 WubTheCaptain Assigned To WubTheCaptain => Zalewa
2020-02-13 02:45 WubTheCaptain Note Added: 0021206
2020-02-13 02:47 WubTheCaptain Summary Qt 5.14 deprecated/obsolete features => Qt 5.14 deprecated/obsolete features (QVariant, QList toList())
2020-02-13 02:48 WubTheCaptain Note Edited: 0021206 View Revisions
2020-02-13 02:52 WubTheCaptain Note Edited: 0021206 View Revisions
2020-02-13 02:54 WubTheCaptain Severity tweak => minor
2020-02-13 07:36 Pol M Note Added: 0021209






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker