Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 647a34d4 authored by Mariusz Glebocki's avatar Mariusz Glebocki Committed by Kurt Hindenburg

Compare floats in a reliable way

Reviewers: #konsole, hindenburg

Reviewed By: #konsole, hindenburg

Subscribers: hindenburg, konsole-devel

Tags: #konsole

Differential Revision:
parent 7e55dcf1
......@@ -300,7 +300,7 @@ void TerminalDisplay::setVTFont(const QFont& f)
// QFontInfo::fixedPitch() appears to not match QFont::fixedPitch() - do not test it.
// related?
if ( !=
|| fontInfo.pointSizeF() != newFont.pointSizeF()
|| !qFuzzyCompare(fontInfo.pointSizeF(), newFont.pointSizeF())
|| fontInfo.styleHint() != newFont.styleHint()
|| fontInfo.weight() != newFont.weight()
|| !=
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