mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 22:25:12 +00:00
almost all boxes done
This commit is contained in:
@@ -1100,6 +1100,9 @@ public:
|
||||
virtual ImagePtr replyPreview() {
|
||||
return ImagePtr();
|
||||
}
|
||||
virtual QString getCaption() const {
|
||||
return QString();
|
||||
}
|
||||
|
||||
int32 currentWidth() const {
|
||||
return qMin(w, _maxw);
|
||||
@@ -1152,6 +1155,10 @@ public:
|
||||
}
|
||||
ImagePtr replyPreview();
|
||||
|
||||
QString getCaption() const {
|
||||
return _caption.original(0, 0xFFFFU, true);
|
||||
}
|
||||
|
||||
private:
|
||||
int16 pixw, pixh;
|
||||
PhotoData *data;
|
||||
|
Reference in New Issue
Block a user