diff -r 3b1da2848fc7 -r d3bac044e0f0 tools/designer/src/lib/shared/connectionedit_p.h --- a/tools/designer/src/lib/shared/connectionedit_p.h Fri Feb 19 23:40:16 2010 +0200 +++ b/tools/designer/src/lib/shared/connectionedit_p.h Fri Mar 12 15:46:37 2010 +0200 @@ -87,7 +87,7 @@ class EndPoint { public: enum Type { Source, Target }; - EndPoint(Connection *_con = 0, Type _type = Source) : con(_con), type(_type) {} + explicit EndPoint(Connection *_con = 0, Type _type = Source) : con(_con), type(_type) {} bool isNull() const { return con == 0; } bool operator == (const EndPoint &other) const { return con == other.con && type == other.type; } bool operator != (const EndPoint &other) const { return !operator == (other); }