diff options
author | Mavridis Philippe <[email protected]> | 2022-06-08 17:18:57 +0300 |
---|---|---|
committer | Mavridis Philippe <[email protected]> | 2022-06-09 11:00:11 +0300 |
commit | 69b99acba4cd3a32f79e5c0004d99de3a9be21a1 (patch) | |
tree | ce6f59c60de72c5a0e65e8f11b080608409313d2 /lib/kotext/KoFontTab.cpp | |
parent | 79949811e08fc5c91e9e3e09e059351749364ab7 (diff) | |
download | koffice-69b99acba4cd3a32f79e5c0004d99de3a9be21a1.tar.gz koffice-69b99acba4cd3a32f79e5c0004d99de3a9be21a1.zip |
KOffice: switch to global TDEFontChooser
Signed-off-by: Mavridis Philippe <[email protected]>
Diffstat (limited to 'lib/kotext/KoFontTab.cpp')
-rw-r--r-- | lib/kotext/KoFontTab.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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 & ) ) ); } |