Replace ID string format with QString::number
This commit is contained in:
parent
2690dc29e9
commit
6fe8019d63
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ auto PlainUsernameValue(not_null<PeerData*> peer) {
|
|||
} // namespace
|
||||
|
||||
rpl::producer<TextWithEntities> IDValue(not_null<PeerData*> peer) {
|
||||
return rpl::single(QString("%1").arg(peer->bareId())) | Ui::Text::ToWithEntities();
|
||||
return rpl::single(QString::number(peer->bareId())) | Ui::Text::ToWithEntities();
|
||||
}
|
||||
|
||||
rpl::producer<TextWithEntities> NameValue(not_null<PeerData*> peer) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue