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

Split some things into different methods in SendFilesBox.

This commit is contained in:
23rd
2020-01-04 00:48:36 +03:00
committed by John Preston
parent efa4deef6a
commit a26e4eee18
2 changed files with 29 additions and 13 deletions

View File

@@ -120,6 +120,8 @@ private:
void updateControlsGeometry();
void updateCaptionPlaceholder();
void addThumbButtonHandlers();
bool canAddFiles(not_null<const QMimeData*> data) const;
bool canAddUrls(const QList<QUrl> &urls) const;
bool addFiles(not_null<const QMimeData*> data);