mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
deprecate the gender property from the protocol entirely (#4496)
* deprecate the gender property from the protocol entirely * use obsolete instead of deprecated * add the database migration * update internal database version as well
This commit is contained in:
parent
86881bbbc3
commit
07e6aadbbe
24 changed files with 25 additions and 170 deletions
|
|
@ -114,7 +114,6 @@ public:
|
|||
}
|
||||
virtual bool registerUser(const QString & /* userName */,
|
||||
const QString & /* realName */,
|
||||
ServerInfo_User_Gender const & /* gender */,
|
||||
const QString & /* password */,
|
||||
const QString & /* emailAddress */,
|
||||
const QString & /* country */,
|
||||
|
|
@ -159,10 +158,6 @@ public:
|
|||
{
|
||||
return false;
|
||||
};
|
||||
virtual QChar getGenderChar(ServerInfo_User_Gender const & /* gender */)
|
||||
{
|
||||
return QChar('u');
|
||||
};
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue