2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Boxes redesigned. Common groups moved to Shared Media.

Also transparent images sending fixed.
This commit is contained in:
John Preston
2016-12-13 20:07:56 +03:00
parent 85b434bee4
commit 2436ad74bd
231 changed files with 4233 additions and 4235 deletions

View File

@@ -192,7 +192,7 @@ public:
return !_history;
}
bool isReplying() const {
return (_replyArea != nullptr) && !isUnlinked();
return _replyArea && !isUnlinked();
}
// Called only by Manager.
@@ -243,11 +243,11 @@ private:
PeerData *_author;
HistoryItem *_item;
int _forwardedCount;
ChildWidget<Ui::IconButton> _close;
ChildWidget<Ui::RoundButton> _reply;
ChildWidget<Background> _background = { nullptr };
ChildWidget<Ui::InputArea> _replyArea = { nullptr };
ChildWidget<Ui::IconButton> _replySend = { nullptr };
object_ptr<Ui::IconButton> _close;
object_ptr<Ui::RoundButton> _reply;
object_ptr<Background> _background = { nullptr };
object_ptr<Ui::InputArea> _replyArea = { nullptr };
object_ptr<Ui::IconButton> _replySend = { nullptr };
bool _waitingForInput = true;
QTimer _hideTimer;