[vlc-commits] gui/qt: AddonItemDelegate: use mem-initializer
Filip Roséen
git at videolan.org
Mon Mar 20 13:53:07 CET 2017
vlc | branch: master | Filip Roséen <filip at atch.se> | Mon Mar 20 13:41:57 2017 +0100| [1cd25a351d84630ff70e05e8ecf21dc42ca01cbc] | committer: Hugo Beauzée-Luyssen
gui/qt: AddonItemDelegate: use mem-initializer
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1cd25a351d84630ff70e05e8ecf21dc42ca01cbc
---
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 6a61d07..4fc1d02 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()
{
More information about the vlc-commits
mailing list