mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Merge branch 'master' of https://github.com/telegramdesktop/tdesktop
This commit is contained in:
@@ -186,11 +186,11 @@ StorageKey PeerData::userpicUniqueKey() const {
|
||||
}
|
||||
|
||||
void PeerData::saveUserpic(const QString &path, int size) const {
|
||||
currentUserpic()->pixRounded(size, size).save(path, "PNG");
|
||||
currentUserpic()->pixRounded(ImageRoundRadius::Small, size, size).save(path, "PNG");
|
||||
}
|
||||
|
||||
QPixmap PeerData::genUserpic(int size) const {
|
||||
return currentUserpic()->pixRounded(size, size);
|
||||
return currentUserpic()->pixRounded(ImageRoundRadius::Small, size, size);
|
||||
}
|
||||
|
||||
const Text &BotCommand::descriptionText() const {
|
||||
|
Reference in New Issue
Block a user