[Browser] Some tweaks to password column

pull/163/head
Koncord 8 years ago
parent edfade2a90
commit 81513082ff

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

Loading…
Cancel
Save