Commit 61b6e098 authored by David Edmundson's avatar David Edmundson
Browse files

[kcms/fonts] Don't set minimium DPI value

The QML port added a minimum value for the font DPI, the old widgets
code goes went 1 to 1000.

A slight bodge is needed to make sure we start at 96 when a user first
toggles force font DPI, which used to implicitly work as a minimum was

BUG: 395575

Test Plan:
Set different value, looked at xrdb -q | grep -i dpi
set another value

Reviewers: #plasma, ngraham

Reviewed By: ngraham

Subscribers: ngraham, plasma-devel

Tags: #plasma

Differential Revision:
parent f174414e
......@@ -216,7 +216,7 @@ KCM.SimpleKCM {
stepSize: 24
editable: true
enabled: dpiCheckBox.checked
value: kcm.fontAASettings.dpi
value: enabled ? kcm.fontAASettings.dpi : 96
Binding {
target: kcm
......@@ -224,7 +224,7 @@ KCM.SimpleKCM {
value: dpiSpinBox.enabled ? dpiSpinBox.value : 0
to: 1000
from: 96
from: 1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment