[Color Picker] Try to parse color from text drop

Authored by davidedmundson on May 11 2017, 10:17 AM.

Description

[Color Picker] Try to parse color from text drop

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.

Reviewers: Plasma, mart

Reviewed By: mart

Subscribers: plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D5246

Details

Committed
davidedmundsonMay 11 2017, 10:17 AM
Reviewer
mart
Differential Revision
D5246: [Color Picker] Try to parse color from text drop
Parents
R114:ffc4cb0ee89e: Avoid showing wrong timezone suffix in krunner time
Branches
Unknown
Tags
Unknown