Fix loading of background image preview
ClosedPublic

Authored by davidedmundson on Jan 30 2019, 11:19 AM.

Details

Summary

50445f794b3142f29dcc043f3af83c549c694bcd changed how wallpapers worked.
Instead of storing an absolute path in the config we move the file and
saves a relative path.

The preview icon still expected an absolute path.

This patch loads the image in the same way SDDM expects.

BUG: 402930
FIXED-IN: 5.15.0

Test Plan

Set image
Reopened KCM

Diff Detail

Repository
R123 SDDM Configuration Panel (KCM)
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
Restricted Application added a project: Plasma. · View Herald TranscriptJan 30 2019, 11:19 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
davidedmundson requested review of this revision.Jan 30 2019, 11:19 AM
ngraham accepted this revision.Jan 31 2019, 9:45 PM
This revision is now accepted and ready to land.Jan 31 2019, 9:45 PM
This revision was automatically updated to reflect the committed changes.