Replace deprecated KFilterDev::device with KCompressionDevice in KBlackBox
ClosedPublic

Authored by yurchor on Aug 20 2019, 12:26 PM.

Details

Summary

KFilterDev::device is deprecated:

https://api.kde.org/frameworks/karchive/html/classKFilterDev.html

This patch replaces it with KCompressionDevice as recommended.

Test Plan
  1. Compile and install KBlackBox. No warnings about deprecation should be shown.
  2. Run KBlackBox. The theme should be loaded as expected.

Diff Detail

Repository
R390 KBlackbox
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
yurchor created this revision.Aug 20 2019, 12:26 PM
Restricted Application added a subscriber: kde-games-devel. · View Herald TranscriptAug 20 2019, 12:26 PM
yurchor requested review of this revision.Aug 20 2019, 12:26 PM
aacid accepted this revision.Aug 21 2019, 8:31 PM
This revision is now accepted and ready to land.Aug 21 2019, 8:31 PM
This revision was automatically updated to reflect the committed changes.