mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
New profile cover actions by buttons done.
Two new types of Observers: image loaded and async file dialog.
This commit is contained in:
@@ -309,6 +309,9 @@ public:
|
||||
void loadUserpic(bool loadFirst = false, bool prior = true) {
|
||||
_userpic->load(loadFirst, prior);
|
||||
}
|
||||
bool userpicLoaded() const {
|
||||
return _userpic->loaded();
|
||||
}
|
||||
StorageKey userpicUniqueKey() const;
|
||||
void saveUserpic(const QString &path) const;
|
||||
QPixmap genUserpic(int size) const;
|
||||
|
Reference in New Issue
Block a user