Closed luis-pereira closed 3 years ago
It isn't important but wasn't Q_DECL_OVERRIDE
(instead of override
) for old times?
It isn't important but wasn't
Q_DECL_OVERRIDE
(instead ofoverride
) for old times?
@tsujan Did not understand what you meant.
Q_DECL_OVERRIDE
is equal to C++11's override
. As far as I know, Qt added it when C++11 was optional (= "old times"): If a project was built with C++11 options, it did the job of override
; if not, it had no effect.
In short, I meant changing it to override
in new codes.
I'm not a fan of doing only one thing in a commit.
Yes, override
should be used, of course.
Part of https://github.com/lxqt/lxqt/discussions/1974.