mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Move Image and derived to ui/image.
This commit is contained in:
@@ -165,17 +165,9 @@ public:
|
||||
int x,
|
||||
int y,
|
||||
int size) const;
|
||||
void loadUserpic(bool loadFirst = false, bool prior = true) {
|
||||
_userpic->load(userpicPhotoOrigin(), loadFirst, prior);
|
||||
}
|
||||
bool userpicLoaded() const {
|
||||
return _userpic->loaded();
|
||||
}
|
||||
bool useEmptyUserpic() const {
|
||||
return _userpicLocation.isNull()
|
||||
|| !_userpic
|
||||
|| !_userpic->loaded();
|
||||
}
|
||||
void loadUserpic(bool loadFirst = false, bool prior = true);
|
||||
bool userpicLoaded() const;
|
||||
bool useEmptyUserpic() const;
|
||||
StorageKey userpicUniqueKey() const;
|
||||
void saveUserpic(const QString &path, int size) const;
|
||||
void saveUserpicRounded(const QString &path, int size) const;
|
||||
|
Reference in New Issue
Block a user