1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-30 03:15:32 +00:00

[Browser] Some tweaks to password column

This commit is contained in:
Koncord 2017-02-21 01:13:09 +08:00
parent edfade2a90
commit 81513082ff

View file

@ -34,7 +34,7 @@ QVariant ServerModel::data(const QModelIndex &index, int role) const
var = sd.addr;
break;
case ServerData::PASSW:
var = sd.needPassw;
var = sd.needPassw ? "Yes" : "No";
break;
case ServerData::VERSION:
var = sd.version;
@ -82,7 +82,7 @@ QVariant ServerModel::headerData(int section, Qt::Orientation orientation, int r
var = "Address";
break;
case ServerData::PASSW:
var = "P";
var = "Password?";
break;
case ServerData::VERSION:
var = "Version";