Un-const non-pointer return types

This commit is contained in:
Gavin Bisesi 2017-03-22 21:12:42 -04:00
parent a3f4012d1a
commit 8ac2a5870d
3 changed files with 6 additions and 6 deletions

View file

@ -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());
}