From b5c7e2f0c24cb137e2df1835959a0e084dec653a Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Mon, 4 Jul 2022 01:54:24 +0300 Subject: [PATCH 31/31] Qt: Correct fc_font::drop() header It spoke of fc_icons instead of fc_font. See osdn #45002 Signed-off-by: Marko Lindqvist --- client/gui-qt/fonts.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/client/gui-qt/fonts.cpp b/client/gui-qt/fonts.cpp index fe29aebabc..64a0092147 100644 --- a/client/gui-qt/fonts.cpp +++ b/client/gui-qt/fonts.cpp @@ -46,18 +46,17 @@ fc_font *fc_font::instance() } /**************************************************************************** - Deletes fc_icons instance + Deletes fc_font instance ****************************************************************************/ void fc_font::drop() { if (m_instance) { m_instance->release_fonts(); delete m_instance; - m_instance = 0; + m_instance = nullptr; } } - /**************************************************************************** Returns desired font ****************************************************************************/ -- 2.35.1