Initialize some more vars to make Valgrind happy

This commit is contained in:
Alessandro Pasotti 2017-11-22 08:51:05 +01:00
parent bb3b6898fb
commit 2169c8809c

View File

@ -89,7 +89,7 @@ class GUI_EXPORT QgsAggregateToolButton : public QToolButton
private: private:
void updateAvailableAggregates(); void updateAvailableAggregates();
QMenu *mMenu = nullptr; QMenu *mMenu = nullptr;
QVariant::Type mType; QVariant::Type mType = QVariant::Invalid;
bool mActive = false; bool mActive = false;
QString mAggregate; QString mAggregate;
QList<QgsAggregateCalculator::AggregateInfo> mAvailableAggregates; QList<QgsAggregateCalculator::AggregateInfo> mAvailableAggregates;