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

Add files from clipboard to composed album.

Fixes #4243.
This commit is contained in:
John Preston
2017-12-29 20:02:23 +03:00
parent 0171a4e874
commit 2a409e3734
8 changed files with 189 additions and 30 deletions

View File

@@ -83,6 +83,7 @@ private:
not_null<Ui::ScrollArea*> wrap,
not_null<AlbumPreview*> content);
void preparePreview();
void prepareSingleFilePreview();
void prepareAlbumPreview();
void applyAlbumOrder();
@@ -94,6 +95,9 @@ private:
void updateBoxSize();
void updateControlsGeometry();
bool canAddFiles(not_null<const QMimeData*> data) const;
bool addFiles(not_null<const QMimeData*> data);
QString _titleText;
int _titleHeight = 0;