Fix Coverity uninitialized member warning

This commit is contained in:
Nyall Dawson 2018-04-06 09:41:10 +10:00
parent 0ef9c729c0
commit 25a9929dea

View File

@ -251,7 +251,7 @@ class CORE_EXPORT QgsAction
mutable std::shared_ptr<QAction> mAction;
QUuid mId;
QgsExpressionContextScope mExpressionContextScope;
bool mIsEnabledOnlyWhenEditable;
bool mIsEnabledOnlyWhenEditable = false;
};
Q_DECLARE_METATYPE( QgsAction )