Replace deprecated KFilterDev::device with KCompressionDevice in KBlackBox
ClosedPublic

Authored by yurchor on Tue, Aug 20, 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.Tue, Aug 20, 12:26 PM
Restricted Application added a subscriber: kde-games-devel. · View Herald TranscriptTue, Aug 20, 12:26 PM
yurchor requested review of this revision.Tue, Aug 20, 12:26 PM
aacid accepted this revision.Wed, Aug 21, 8:31 PM
This revision is now accepted and ready to land.Wed, Aug 21, 8:31 PM
This revision was automatically updated to reflect the committed changes.