Compare connections by object id

(cherry picked from commit 02535e7f17)
This commit is contained in:
kobewi 2021-09-08 13:57:50 +02:00 committed by Rémi Verschelde
parent a6d9efad9e
commit b13bbba80b
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -356,7 +356,7 @@ bool Object::Connection::operator<(const Connection &p_conn) const {
return method < p_conn.method;
} else {
return target < p_conn.target;
return target->get_instance_id() < p_conn.target->get_instance_id();
}
} else
return signal < p_conn.signal;