Fix build when KHotKeysDBusInterface is disabled/missing.
ClosedPublic

Authored by palimaka on Mar 31 2016, 6:35 PM.

Details

Summary

By testing the variable itself (rather than its contents) we avoid a failure
when KHotKeysDBusInterface is disabled or missing as KHotKeysDBusInterface_FOUND
will not be defined.

Diff Detail

Repository
R103 KMenu Editor
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
palimaka updated this revision to Diff 3049.Mar 31 2016, 6:35 PM
palimaka retitled this revision from to Fix build when KHotKeysDBusInterface is disabled/missing..
palimaka updated this object.
palimaka added a reviewer: Plasma.
graesslin accepted this revision.Apr 1 2016, 3:36 PM
graesslin added a reviewer: graesslin.
This revision is now accepted and ready to land.Apr 1 2016, 3:36 PM
This revision was automatically updated to reflect the committed changes.