]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/components/complete_preferences.cpp
qt4: More static_casts to null in preference components
[vlc] / modules / gui / qt4 / components / complete_preferences.cpp
index 9a9202a2c884ce3029643b393fc6ecddfb626994..2a5f6113811be7308e6a80dd38eda4d95d4a025d 100644 (file)
@@ -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 );