Skip to content

Commit 25a9929

Browse files
committed
Fix Coverity uninitialized member warning
1 parent 0ef9c72 commit 25a9929

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/qgsaction.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ class CORE_EXPORT QgsAction
251251
mutable std::shared_ptr<QAction> mAction;
252252
QUuid mId;
253253
QgsExpressionContextScope mExpressionContextScope;
254-
bool mIsEnabledOnlyWhenEditable;
254+
bool mIsEnabledOnlyWhenEditable = false;
255255
};
256256

257257
Q_DECLARE_METATYPE( QgsAction )

0 commit comments

Comments
 (0)