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

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

Summary:
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
set.

BUG: 395575

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

Reviewers: #plasma, ngraham

Reviewed By: ngraham

Subscribers: ngraham, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D17412
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