mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 20:50:34 +01:00
initialize TerminalData with nullpoint to not having an invalid value
This commit is contained in:
@@ -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_;
|
||||
|
||||
Reference in New Issue
Block a user