aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDario Lombardo <lomato@gmail.com>2016-07-07 22:38:40 +0200
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2016-07-08 07:01:39 +0000
commit785d2295bc76fff8c1bf6e287f7fd6d8db3eeede (patch)
treea619e9801dc40340e3d80db634a747d8af1d68a4
parent03ca5c0f6ef256c88f10b5c1580467333ab703c1 (diff)
Qt: add initializer (CID 1269610).
Change-Id: I483e5d3f239f4708f9fc6b11c98869bb1381fb44 Reviewed-on: https://code.wireshark.org/review/16324 Petri-Dish: Dario Lombardo <lomato@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
-rw-r--r--ui/qt/coloring_rules_dialog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/coloring_rules_dialog.h b/ui/qt/coloring_rules_dialog.h
index be753deeb0..99e42e6510 100644
--- a/ui/qt/coloring_rules_dialog.h
+++ b/ui/qt/coloring_rules_dialog.h
@@ -41,7 +41,7 @@ class ColoringRulesTreeDelegate : public QStyledItemDelegate
Q_OBJECT
public:
- ColoringRulesTreeDelegate(QObject *parent = 0) : QStyledItemDelegate(parent) {}
+ ColoringRulesTreeDelegate(QObject *parent = 0) : QStyledItemDelegate(parent), tree_(NULL) {}
~ColoringRulesTreeDelegate() {}
QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const;