diff --git a/src/control/tools/EditSelection.h b/src/control/tools/EditSelection.h index 94ae6939..b0a05797 100644 --- a/src/control/tools/EditSelection.h +++ b/src/control/tools/EditSelection.h @@ -231,7 +231,7 @@ private: // DATA */ double x; double y; - double rotation; + double rotation = 0; /** * The size diff --git a/src/control/tools/EditSelectionContents.h b/src/control/tools/EditSelectionContents.h index bee294e5..7d467685 100644 --- a/src/control/tools/EditSelectionContents.h +++ b/src/control/tools/EditSelectionContents.h @@ -143,7 +143,7 @@ private: /** * The given rotation. Original rotation should always be zero (double) */ - double rotation; + double rotation = 0; /** * The offset to the original selection diff --git a/src/undo/RotateUndoAction.h b/src/undo/RotateUndoAction.h index b3759b31..ab9d51d1 100644 --- a/src/undo/RotateUndoAction.h +++ b/src/undo/RotateUndoAction.h @@ -36,5 +36,5 @@ private: double y0; double xo; double yo; - double rotation; + double rotation = 0; };