From 69a1f252c9fb288909d870195a78bd07826b85ab Mon Sep 17 00:00:00 2001 From: David Aguilar Date: Sun, 7 Jan 2024 00:04:52 -0800 Subject: [PATCH] qtutils: rename font() to font_from_string() Signed-off-by: David Aguilar --- cola/qtutils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cola/qtutils.py b/cola/qtutils.py index 3ca3391e..1046a5a9 100644 --- a/cola/qtutils.py +++ b/cola/qtutils.py @@ -699,10 +699,10 @@ def diff_font_str(context): def diff_font(context): - return font(diff_font_str(context)) + return font_from_string(diff_font_str(context)) -def font(string): +def font_from_string(string): qfont = QtGui.QFont() qfont.fromString(string) return qfont -- 2.11.4.GIT