[mediaframe applet] Fix defunct adding of new files/folder per DnD
ClosedPublic

Authored by kossebau on Apr 17 2018, 4:33 PM.

Details

Summary

It was broken for 2 reasons:

  • usage of since-renamed MediaFrame::has() method
  • calling push() directly on plasmoid.configuration.pathList was no-op due to QTBUG-67773
Test Plan

Dropping files & folders onto an existing mediaframe widget results in the
files & folders being added now.

Diff Detail

Repository
R114 Plasma Addons
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
kossebau created this revision.Apr 17 2018, 4:33 PM
Restricted Application added a project: Plasma. · View Herald TranscriptApr 17 2018, 4:33 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
kossebau requested review of this revision.Apr 17 2018, 4:33 PM

Target: 5.12 branch (drop not working is a regression compared to plasma4 version, also does applet indicate it supports the drop on hover)

davidedmundson accepted this revision.Apr 17 2018, 4:36 PM
This revision is now accepted and ready to land.Apr 17 2018, 4:36 PM