mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Un-const non-pointer return types
This commit is contained in:
parent
a3f4012d1a
commit
8ac2a5870d
3 changed files with 6 additions and 6 deletions
|
|
@ -606,12 +606,12 @@ void TabSupervisor::processNotifyUserEvent(const Event_NotifyUser &event)
|
|||
|
||||
}
|
||||
|
||||
const bool TabSupervisor::isOwnUserRegistered() const
|
||||
bool TabSupervisor::isOwnUserRegistered() const
|
||||
{
|
||||
return (bool) getUserInfo()->user_level() & ServerInfo_User::IsRegistered;
|
||||
}
|
||||
|
||||
const QString TabSupervisor::getOwnUsername() const
|
||||
QString TabSupervisor::getOwnUsername() const
|
||||
{
|
||||
return QString::fromStdString(userInfo->name());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue