Fix build with Qt 5.9 and lower
ClosedPublic

Authored by wbauer on Mar 14 2020, 7:52 PM.

Details

Summary

QApplication::screenAt() only exists since 5.10.

Test Plan

Compiles successfully with Qt 5.9.7 now, and also newer versions (tested with 5.12.7 and 5.14.1).

Diff Detail

Repository
R440 Smb4K
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
wbauer requested review of this revision.Mar 14 2020, 7:52 PM
wbauer created this revision.
wbauer added a reviewer: areinholdt.

This is intended for the 3.0 branch, master apparently will need similar (but different) changes (or a bump of the minimum Qt version).

areinholdt accepted this revision.Mar 15 2020, 2:02 PM

Thanks for fixing this.

This revision is now accepted and ready to land.Mar 15 2020, 2:02 PM
This revision was automatically updated to reflect the committed changes.