2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

Refactored edit_caption_box.

This commit is contained in:
23rd
2019-03-27 00:14:51 +03:00
committed by John Preston
parent 25177d9022
commit d5a2daa8c9
3 changed files with 61 additions and 85 deletions

View File

@@ -8,6 +8,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#pragma once
#include "boxes/abstract_box.h"
#include "storage/storage_media_prepare.h"
namespace ChatHelpers {
class TabbedPanel;
@@ -59,6 +60,8 @@ private:
void saveDone(const MTPUpdates &updates);
bool saveFail(const RPCError &error);
void setName(QString nameString, qint64 size);
int errorTopSkip() const;
not_null<Window::Controller*> _controller;
@@ -91,6 +94,8 @@ private:
int _gifh = 0;
int _gifx = 0;
Storage::PreparedList _preparedList;
bool _previewCancelled = false;
mtpRequestId _saveRequestId = 0;