Commit f3098146 authored by Clément Stenac's avatar Clément Stenac

Fix Win32 preferences crash

parent 4587e359
......@@ -407,9 +407,11 @@ PrefsPanel::PrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
}
QLabel *label = new QLabel( head, this );
#ifndef WIN32
QFont font = label->font();
font.setPointSize( font.pointSize() + 2 ); font.setBold( true );
label->setFont( font );
#endif
QLabel *help = new QLabel( data->help, this );
help->setWordWrap( true );
......
......@@ -60,9 +60,9 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
ui.volLowLabel->setPixmap( QPixmap( ":/pixmaps/volume-low.png" ) );
ui.volHighLabel->setPixmap( QPixmap( ":/pixmaps/volume-high.png" ) );
ui.volumeSlider->setMaximum( 100 );
ui.playlistButton->setText( "" );
ui.playlistButton->setIcon( QIcon( ":/pixmaps/volume-low.png" ) );
VolumeClickHandler *h = new VolumeClickHandler( this );
ui.volLowLabel->installEventFilter(h);
ui.volHighLabel->installEventFilter(h);
......
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