mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 22:25:12 +00:00
New profile photo edit by drag-n-drop. Animated photo button.
This commit is contained in:
@@ -2304,6 +2304,10 @@ namespace {
|
||||
return result;
|
||||
}
|
||||
|
||||
QPixmap pixmapFromImageInPlace(QImage &&image) {
|
||||
return QPixmap::fromImage(std_::forward<QImage>(image), Qt::ColorOnly);
|
||||
}
|
||||
|
||||
void regPhotoItem(PhotoData *data, HistoryItem *item) {
|
||||
::photoItems[data].insert(item, NullType());
|
||||
}
|
||||
|
Reference in New Issue
Block a user