mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2025-12-29 14:14:57 -08: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user