mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-12-24 04:22:39 +00:00
Rewrote the settings system. It may still need some work.
This commit is contained in:
@@ -18,32 +18,32 @@
|
||||
UserInfo::UserInfo(const QString &username, const QString &password, QObject *parent) :
|
||||
QObject(parent)
|
||||
{
|
||||
this->username = username;
|
||||
this->password = password;
|
||||
this->m_username = username;
|
||||
this->m_password = password;
|
||||
}
|
||||
|
||||
UserInfo::UserInfo(const UserInfo &other)
|
||||
{
|
||||
this->username = other.username;
|
||||
this->password = other.password;
|
||||
this->m_username = other.m_username;
|
||||
this->m_password = other.m_password;
|
||||
}
|
||||
|
||||
QString UserInfo::getUsername() const
|
||||
QString UserInfo::username() const
|
||||
{
|
||||
return username;
|
||||
return m_username;
|
||||
}
|
||||
|
||||
void UserInfo::setUsername(const QString &username)
|
||||
{
|
||||
this->username = username;
|
||||
this->m_username = username;
|
||||
}
|
||||
|
||||
QString UserInfo::getPassword() const
|
||||
QString UserInfo::password() const
|
||||
{
|
||||
return password;
|
||||
return m_password;
|
||||
}
|
||||
|
||||
void UserInfo::setPassword(const QString &password)
|
||||
{
|
||||
this->password = password;
|
||||
this->m_password = password;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user