Don't set both font and pixel size in DigitalClock

Authored by davidedmundson on Jun 28 2016, 8:43 PM.

Description

Don't set both font and pixel size in DigitalClock

Summary:
Digital Clock sets fontSizeMode, this scales the font to fit between a
tiny size and a the given size.

In older Qt this used to be between 0 and pixel size - but because
Plasma.Components.Label already set the pointSize we had to set both.

In Qt 5.6 it seems to handle either type of font size being set, so we can
keep with just one.

Test Plan:
Clock still scales to fill space
Clock still switches into compact mode if needed

Reviewers: Plasma, sebas

Reviewed By: Plasma, sebas

Subscribers: plasma-devel

Tags: Plasma

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

Details

Committed
davidedmundsonJun 28 2016, 8:43 PM
Reviewer
Plasma
Differential Revision
D1974: Don't set both font and pixel size in DigitalClock
Parents
R120:17d3e13e0f32: make activeTask a property
Branches
Unknown
Tags
Unknown