| 2092 | } |
| 2093 | |
| 2094 | bool SteamSettings::login(QString& username, QString& password) const |
| 2095 | { |
| 2096 | username = get<QString>(m_Settings, "Settings", "steam_username", ""); |
| 2097 | password = getWindowsCredential("steam_password"); |
| 2098 | |
| 2099 | return !username.isEmpty() && !password.isEmpty(); |
| 2100 | } |
| 2101 | |
| 2102 | void SteamSettings::setLogin(QString username, QString password) |
| 2103 | { |
no test coverage detected