From 31b96d933fed651a7f779056cfa3f8dfc1a1cc0c Mon Sep 17 00:00:00 2001 From: Slávek Banko Date: Mon, 6 Dec 2021 16:14:32 +0100 Subject: Added controlled conversions to char* instead of automatic ascii conversions. The definition of -UTQT_NO_ASCII_CAST is no longer needed. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 591c8f8d77f742dd99e59dab537dd9d5a62e88a6) --- qt/PlatQt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt/PlatQt.cpp') diff --git a/qt/PlatQt.cpp b/qt/PlatQt.cpp index 4029f43..0f46659 100644 --- a/qt/PlatQt.cpp +++ b/qt/PlatQt.cpp @@ -819,7 +819,7 @@ ColourDesired Platform::ChromeHighlight() const char *Platform::DefaultFont() { - return TQApplication::font().family(); + return TQApplication::font().family().utf8(); } int Platform::DefaultFontSize() -- cgit v1.2.3