Account Wizard: Fix compile with Qt 5.13 and QT_DISABLE_DEPRECATED_BEFORE=0x060000
ClosedPublic

Authored by marten on Feb 26 2019, 2:15 PM.

Details

Summary

In this Qt version, obsolete functions and variables are now actually hidden in the header files if that compile definition is used.

QLayout::setMargin() -> setContentsMargins()

Test Plan

Builds and runs correctly with Qt version 5.13.0.

Diff Detail

Repository
R207 KMail Account Wizard
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
marten created this revision.Feb 26 2019, 2:15 PM
Restricted Application added a project: KDE PIM. · View Herald TranscriptFeb 26 2019, 2:15 PM
Restricted Application added a subscriber: kde-pim. · View Herald Transcript
marten requested review of this revision.Feb 26 2019, 2:15 PM
dvratil accepted this revision.Feb 26 2019, 4:40 PM
This revision is now accepted and ready to land.Feb 26 2019, 4:40 PM
This revision was automatically updated to reflect the committed changes.