MantisBT - Doomseeker
View Issue Details
0003763Doomseeker[All Projects] Cleanuppublic2020-02-13 02:432021-08-16 19:14
Pol M 
Zalewa 
normalminoralways
closedfixed 
1.3.1 
1.3.21.3.2 
0003763: Qt 5.14 deprecated/obsolete features (QVariant, QList toList())
Qt 5.14 has obsoleted some class members, they shouldn't be used in new code. Doomseeker has few of them.
'https://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.
No tags attached.
Issue History
2020-02-13 02:43WubTheCaptainNew Issue
2020-02-13 02:43WubTheCaptainStatusnew => assigned
2020-02-13 02:43WubTheCaptainAssigned To => WubTheCaptain
2020-02-13 02:44WubTheCaptainReporterWubTheCaptain => Pol M
2020-02-13 02:45WubTheCaptainNote Added: 0021205
2020-02-13 02:45WubTheCaptainStatusassigned => resolved
2020-02-13 02:45WubTheCaptainFixed in Version => 1.3.3
2020-02-13 02:45WubTheCaptainResolutionopen => fixed
2020-02-13 02:45WubTheCaptainAssigned ToWubTheCaptain => Zalewa
2020-02-13 02:45WubTheCaptainNote Added: 0021206
2020-02-13 02:47WubTheCaptainSummaryQt 5.14 deprecated/obsolete features => Qt 5.14 deprecated/obsolete features (QVariant, QList toList())
2020-02-13 02:48WubTheCaptainNote Edited: 0021206bug_revision_view_page.php?bugnote_id=21206#r13030
2020-02-13 02:52WubTheCaptainNote Edited: 0021206bug_revision_view_page.php?bugnote_id=21206#r13031
2020-02-13 02:54WubTheCaptainSeveritytweak => minor
2020-02-13 07:36Pol MNote Added: 0021209
2021-08-07 16:53Blzut3Statusresolved => closed
2021-08-16 19:14WubTheCaptainFixed in Version1.3.3 => 1.3.2
2021-08-16 19:14WubTheCaptainTarget Version1.3.3 => 1.3.2

Notes
(0021205)
WubTheCaptain   
2020-02-13 02:45   
Merged by Zalewa.

'https://bitbucket.org/Doomseeker/doomseeker/pull-requests/1/ [^]'
'https://bitbucket.org/Doomseeker/doomseeker/commits/0e00352935bef012994b48c331e079512f7fdc03 [^]'
(0021206)
WubTheCaptain   
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.


(0021209)
Pol M   
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