mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 10:52:49 +00:00
kdeui: remove unused KFontChooser widget
unused since the raw (X11) fonts support was dropped Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
b0e419b650
commit
ac32164782
1 changed files with 0 additions and 23 deletions
|
@ -394,29 +394,6 @@ KFontChooser::KFontChooser( QWidget *parent,
|
||||||
//
|
//
|
||||||
// Finished setting up the splitter.
|
// Finished setting up the splitter.
|
||||||
|
|
||||||
// Add fonts below the font attributes/preview splitter.
|
|
||||||
//
|
|
||||||
QVBoxLayout *vbox;
|
|
||||||
if( flags & DisplayFrame )
|
|
||||||
{
|
|
||||||
page = new QGroupBox( i18n("Actual Font"), this );
|
|
||||||
topLayout->addWidget(page);
|
|
||||||
vbox = new QVBoxLayout( page );
|
|
||||||
vbox->addSpacing( fontMetrics().lineSpacing() );
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
page = new QWidget( this );
|
|
||||||
topLayout->addWidget(page);
|
|
||||||
vbox = new QVBoxLayout( page );
|
|
||||||
vbox->setMargin( 0 );
|
|
||||||
QLabel *label = new QLabel( i18n("Actual Font"), page );
|
|
||||||
vbox->addWidget( label );
|
|
||||||
}
|
|
||||||
|
|
||||||
//
|
|
||||||
// Finished setting up the chooser layout.
|
|
||||||
|
|
||||||
// lets initialize the display if possible
|
// lets initialize the display if possible
|
||||||
setFont( d->usingFixed ? KGlobalSettings::fixedFont() : KGlobalSettings::generalFont(), d->usingFixed );
|
setFont( d->usingFixed ? KGlobalSettings::fixedFont() : KGlobalSettings::generalFont(), d->usingFixed );
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue