# HG changeset patch # User sheepluva # Date 1421527261 -3600 # Node ID f8e0961b463e36c4002716fde58b78a8c604cb69 # Parent 0311c9fa749888aa6266bfec86de892df38baa21 oops. I committed hat fix to .21 branch diff -r 0311c9fa7498 -r f8e0961b463e QTfrontend/model/playerslistmodel.cpp --- a/QTfrontend/model/playerslistmodel.cpp Sat Jan 17 10:07:12 2015 -0500 +++ b/QTfrontend/model/playerslistmodel.cpp Sat Jan 17 21:41:01 2015 +0100 @@ -237,6 +237,7 @@ << index.data(InGame).toBool() << index.data(RoomFilterRole).toBool() << index.data(InRoom).toBool() + << index.data(Contributor).toBool() ; for(int i = flags.size() - 1; i >= 0; --i) diff -r 0311c9fa7498 -r f8e0961b463e QTfrontend/model/playerslistmodel.h --- a/QTfrontend/model/playerslistmodel.h Sat Jan 17 10:07:12 2015 -0500 +++ b/QTfrontend/model/playerslistmodel.h Sat Jan 17 21:41:01 2015 +0100 @@ -23,6 +23,8 @@ InGame = Qt::UserRole + 6, InRoom = Qt::UserRole + 7, Contributor = Qt::UserRole + 8 + // if you add a role that will affect the player icon, + // then also add it to the flags Qlist in updateIcon()! }; enum SpecialRoles {