Edit Profile Dialog: Fix "Smooth fonts" preview

Authored by mglb on Oct 24 2018, 12:38 AM.

Description

Edit Profile Dialog: Fix "Smooth fonts" preview

Summary:
setStyleHint() resets styleStrategy (which has information about
font smoothing) when the second argument is missing.

Test Plan:

  • SettingsEdit current profile...Appearance
  • Unselect/select "Smooth fonts" checkbox

Actual result: text rendering in the main terminal window does not
change.
Expected result: text rendering in the main terminal window should
use smoothing or not, depending on the checkbox state. The option change
should be visible instantly, without clicking OK or Apply.

Reviewers: Konsole, hindenburg

Reviewed By: Konsole, hindenburg

Subscribers: hindenburg, konsole-devel

Tags: Konsole

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

Details

Committed
hindenburgOct 24 2018, 2:13 PM
Reviewer
Konsole
Differential Revision
D16361: Edit Profile Dialog: Fix "Smooth fonts" preview
Parents
R319:4e09f089f940: Fix double click can only select text within visible region
Branches
Unknown
Tags
Unknown