-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove compatibility.h #4309
remove compatibility.h #4309
Conversation
I don't think so. We still need to support Qt 5.12. |
Oh I did not realize QWidget::screen was added in Qt 5.14. I can add one conditional hack for that, but I think we can still get rid of compatibility.h. |
Please don't remove the QUuid utility functions and tests, as these will still be needed in the future, e.g. for #2282. |
I suggest to first merge #4308 and then continue with the remaining tasks. |
I don't think we need to have unit tests for Qt. That's Qt's job. |
Qt doesn't provide a function that maps a null UUID to a null string. I have already populated some of my tags with those bogus UUIDs, don't underestimate even those simple functions. |
I have removed the obsolete utility function and tests from #4308. |
This was added for Qt < 5.6 but the conditional compilation supporting Qt < 5.6 was already removed. The function no longer serves a purpose.
34d5ae6
to
dce1aad
Compare
Rebased and added one special case hack for Qt < 5.14. |
aebc83d
to
d82c367
Compare
d82c367
to
ddefebd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
devicePixelRatio() -> devicePixelRatioF()
This was added for Qt < 5.6 but the conditional compilation supporting Qt < 5.6 was already removed. The function no longer serves a purpose. Also remove compatibility.h
ddefebd
to
2f08b4f
Compare
Merge? |
LGTM |
Thank you for the speedy review. |
None of it is needed anymore.