initialize TerminalData with nullpoint to not having an invalid value

This commit is contained in:
Martin Marmsoler
2020-10-19 20:02:29 +02:00
parent aba16dc936
commit 793770a72a

View File

@@ -79,7 +79,7 @@ class PartTerminal : public CustomElementGraphicPart {
private:
void updateSecondPoint();
TerminalData* d; // pointer to the terminal data
TerminalData* d{nullptr}; // pointer to the terminal data
private:
QPointF saved_position_;