From 2169c8809cb17351533b4225b52115efe62bb7eb Mon Sep 17 00:00:00 2001 From: Alessandro Pasotti Date: Wed, 22 Nov 2017 08:51:05 +0100 Subject: [PATCH] Initialize some more vars to make Valgrind happy --- src/gui/qgsaggregatetoolbutton.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/qgsaggregatetoolbutton.h b/src/gui/qgsaggregatetoolbutton.h index 28ab44b50156..ae9b14cc1e1d 100644 --- a/src/gui/qgsaggregatetoolbutton.h +++ b/src/gui/qgsaggregatetoolbutton.h @@ -89,7 +89,7 @@ class GUI_EXPORT QgsAggregateToolButton : public QToolButton private: void updateAvailableAggregates(); QMenu *mMenu = nullptr; - QVariant::Type mType; + QVariant::Type mType = QVariant::Invalid; bool mActive = false; QString mAggregate; QList mAvailableAggregates;