[Color Picker] Try to parse color from text drop
ClosedPublic

Authored by broulik on Mar 29 2017, 4:36 PM.

Details

Summary

When dropping a color code from an text editor, try to figure out the color and add it to the history.

Test Plan

Dragged a couple of color strings from Qt's documentation and it worked. Dropping colors from Inkscape and Kolourpaint still works.

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.
broulik created this revision.Mar 29 2017, 4:36 PM
Restricted Application added a project: Plasma. · View Herald TranscriptMar 29 2017, 4:36 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
mart accepted this revision.Mar 30 2017, 1:03 PM
This revision is now accepted and ready to land.Mar 30 2017, 1:03 PM
This revision was automatically updated to reflect the committed changes.