diff --git a/sources/conductorprofile.h b/sources/conductorprofile.h index 2697e60b0..1b4ceb273 100644 --- a/sources/conductorprofile.h +++ b/sources/conductorprofile.h @@ -38,10 +38,12 @@ class ConductorProfile { public: /// Segments composing the conductor QList segments; - /// Orientation of the start terminal - Qet::Orientation beginOrientation; + /// Orientation of the start terminal. Initialised because the default + /// constructor leaves it as is, and the copy constructor and operator= + /// then read it from such a profile. + Qet::Orientation beginOrientation = Qet::North; /// Orientation of the end terminal. - Qet::Orientation endOrientation; + Qet::Orientation endOrientation = Qet::North; // methods public: