2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Slightly refactored code in SendFilesBox.

This commit is contained in:
23rd
2020-01-05 23:45:15 +03:00
committed by John Preston
parent 627a105ba9
commit abc7b8364c
2 changed files with 36 additions and 24 deletions

View File

@@ -123,8 +123,8 @@ private:
void addThumbButtonHandlers();
bool canAddFiles(not_null<const QMimeData*> data) const;
bool canAddUrls(const QList<QUrl> &urls) const;
bool addFiles(not_null<const QMimeData*> data);
bool addFiles(Storage::PreparedList list);
const not_null<Window::SessionController*> _controller;
const Api::SendType _sendType = Api::SendType();