Details
-
Bug
-
Resolution: Fixed
-
P5: Not important
-
6.5.0
-
-
408799de6 (dev), 1c359e6ea (6.6), f0f581ffe (6.5), 9743f4adb (tqtc/lts-6.2)
Description
I'm not entirely sure if this is actually a typo or not, but let me point it out just to make sure it's not getting missed.
In the file qcoreapplication.cpp, there's a function called qt_call_pre_routines(), which basically calls a list of QtStartUpFunctions, as the name suggests.
It takes a list of QtStartUpFunctions from preRList and loops through it with for loop.
However, it's taking each element as a type of QtCleanUpFunction, not QtStartUpFunction.
If this is actually written as intended, perhaps adding a comment to the code would help for understanding.
Attachments
For Gerrit Dashboard: QTBUG-117242 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
512676,1 | QCoreApplication: use the correct typedef of `preRList` | tqtc/lts-5.15 | qt/tqtc-qtbase | Status: NEW | 0 | 0 |
606080,1 | QCoreApplication: use the correct typedef of `preRList` | tqtc/lts-6.5 | qt/tqtc-qtbase | Status: NEW | 0 | 0 |