2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 22:55:11 +00:00

Paste image to SendFilesBox even if it has an url.

Fixes #4483.
This commit is contained in:
John Preston
2018-03-10 00:09:12 +03:00
parent e88c575d4a
commit bfe7bf2c11
2 changed files with 23 additions and 17 deletions

View File

@@ -84,6 +84,7 @@ private:
void updateControlsGeometry();
bool canAddFiles(not_null<const QMimeData*> data) const;
bool canAddUrls(const QList<QUrl> &urls) const;
bool addFiles(not_null<const QMimeData*> data);
QString _titleText;