Commit 3bda99a3 authored by Juho Vähä-Herttua's avatar Juho Vähä-Herttua Committed by Jean-Baptiste Kempf

qt4: More static_casts to null in preference components

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 352fb477
......@@ -404,7 +404,7 @@ AdvPrefsPanel::AdvPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
}
QLabel *titleLabel = new QLabel( head );
QFont titleFont = QApplication::font( static_cast<QWidget*>(0) );
QFont titleFont = QApplication::font();
titleFont.setPointSize( titleFont.pointSize() + 6 );
titleLabel->setFont( titleFont );
......
......@@ -191,7 +191,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
// Title Label
QLabel *panel_label = new QLabel;
QFont labelFont = QApplication::font( static_cast<QWidget*>(0) );
QFont labelFont = QApplication::font();
labelFont.setPointSize( labelFont.pointSize() + 6 );
panel_label->setFont( labelFont );
......@@ -200,7 +200,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
title_line->setFrameShape(QFrame::HLine);
title_line->setFrameShadow(QFrame::Sunken);
QFont italicFont = QApplication::font( static_cast<QWidget*>(0) );
QFont italicFont = QApplication::font();
italicFont.setItalic( true );
switch( number )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment