From 69b99acba4cd3a32f79e5c0004d99de3a9be21a1 Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Wed, 8 Jun 2022 17:18:57 +0300 Subject: KOffice: switch to global TDEFontChooser Signed-off-by: Mavridis Philippe --- lib/kotext/KoFontTab.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/kotext/KoFontTab.cpp') diff --git a/lib/kotext/KoFontTab.cpp b/lib/kotext/KoFontTab.cpp index 0615a337..78a9f67f 100644 --- a/lib/kotext/KoFontTab.cpp +++ b/lib/kotext/KoFontTab.cpp @@ -23,9 +23,10 @@ KoFontTab::KoFontTab( uint fontListCriteria, TQWidget* parent, const char* name, : KoFontTabBase( parent, name, fl ) { TQStringList list; - TDEFontChooser_local::getFontList(list, fontListCriteria); + TDEFontChooser::getFontList(list, fontListCriteria); characterFont->setFamilyList( list ); + characterFont->setSampleBoxVisible(false); comparisonFont = characterFont->font(); connect( characterFont, TQT_SIGNAL( fontSelected( const TQFont & ) ), this, TQT_SLOT( slotFontChanged( const TQFont & ) ) ); } -- cgit v1.2.1