[kcms/cursortheme] Fix size combo

Authored by davidedmundson on Jan 23 2019, 3:48 PM.

Description

[kcms/cursortheme] Fix size combo

Summary:
The biggest problem fixed was that m_preferredSize was sometimes treated
as
an absolute value, sometimes as an index. This patch splits the two
concepts.

It also fixes the binding of the combobox to handle updates properly.

BUG: 403019

Test Plan:
Clicked between themes
Closed and reopened the KCM had a valid value

Reviewers: Plasma, ngraham

Reviewed By: ngraham

Subscribers: ngraham, plasma-devel

Tags: Plasma

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

Details

Committed
davidedmundsonJan 23 2019, 3:48 PM
Reviewer
ngraham
Differential Revision
D18471: [kcms/cursortheme] Fix size combo
Parents
R119:5c18d665b7e8: [kcms/cursortheme] Set theme before loading size
Branches
Unknown
Tags
Unknown