Skip to content

Commit

Permalink
Fix Coverity uninitialized member warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Apr 5, 2018
1 parent 0ef9c72 commit 25a9929
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsaction.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down

0 comments on commit 25a9929

Please sign in to comment.