Skip to content
Snippets Groups Projects
Commit 98607150 authored by Sébastien Blin's avatar Sébastien Blin Committed by Philippe Gorley
Browse files

personmodel: fix incorrect warning message


PeerProfileCollection's name is "Peer profiles" not "ppc"

Change-Id: I3ad0f400c01b404161f87df6f7288baadd4c4ce8
Reviewed-by: default avatarPhilippe Gorley <philippe.gorley@savoirfairelinux.com>
parent 4e8f9e62
No related branches found
No related tags found
No related merge requests found
......@@ -350,7 +350,7 @@ bool PersonModel::addPeerProfile(Person* person)
// check if this person is saved in the PeerProfileCollection, "ppc"
if (person->collection() != &TransitionalPersonBackend::instance() and
person->collection()->name() != "ppc")
person->collection()->id() != "ppc")
{
qWarning() << "About to add Person to the PeerProfileCollection which is part of another collection";
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment