Fix build with Qt < 5.7
ClosedPublic

Authored by broulik on Dec 10 2017, 9:27 PM.

Details

Summary

QGuiApplication::desktopFileName() is new in Qt 5.7

Test Plan

Verified that session jump list actions still worked. Didnt compile on 5.6, though

Diff Detail

Repository
R40 Kate
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik created this revision.Dec 10 2017, 9:27 PM
Restricted Application added a project: Kate. · View Herald TranscriptDec 10 2017, 9:27 PM
broulik requested review of this revision.Dec 10 2017, 9:27 PM
broulik updated this revision to Diff 23736.EditedDec 10 2017, 9:29 PM
broulik edited the test plan for this revision. (Show Details)

Disable feature for < Qt 5.7
This feature requires a change in Plasma 5.11 task manager and distros shipping Qt 5.6 cannot have it

cullmann accepted this revision.Dec 11 2017, 6:52 AM
cullmann added a subscriber: cullmann.

Ok, thanks for fixing the compile!

This revision is now accepted and ready to land.Dec 11 2017, 6:52 AM
dhaumann accepted this revision.Dec 11 2017, 6:53 AM
This revision was automatically updated to reflect the committed changes.