[vlc-devel] [PATCH 7/8] gui/qt: AddonItemDelegate: use mem-initializer

Filip Roséen filip at atch.se
Mon Mar 20 13:41:57 CET 2017


---
 modules/gui/qt/dialogs/plugins.cpp | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/modules/gui/qt/dialogs/plugins.cpp b/modules/gui/qt/dialogs/plugins.cpp
index 6a61d07671..4fc1d02966 100644
--- a/modules/gui/qt/dialogs/plugins.cpp
+++ b/modules/gui/qt/dialogs/plugins.cpp
@@ -1112,10 +1112,9 @@ void ExtensionItemDelegate::initStyleOption( QStyleOptionViewItem *option,
 
 AddonItemDelegate::AddonItemDelegate( QObject *parent )
     : ExtensionItemDelegate( parent )
-{
-    animator = NULL;
-    progressbar = NULL;
-}
+    , animator( NULL )
+    , progressbar( NULL )
+{ }
 
 AddonItemDelegate::~AddonItemDelegate()
 {
-- 
2.12.0


More information about the vlc-devel mailing list