mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Allow many previews in SendFilesBox.
This commit is contained in:
@@ -530,10 +530,11 @@ FileLoadTask::FileLoadTask(
|
||||
|
||||
FileLoadTask::~FileLoadTask() = default;
|
||||
|
||||
std::unique_ptr<Ui::PreparedFileInformation> FileLoadTask::ReadMediaInformation(
|
||||
const QString &filepath,
|
||||
const QByteArray &content,
|
||||
const QString &filemime) {
|
||||
auto FileLoadTask::ReadMediaInformation(
|
||||
const QString &filepath,
|
||||
const QByteArray &content,
|
||||
const QString &filemime)
|
||||
-> std::unique_ptr<Ui::PreparedFileInformation> {
|
||||
auto result = std::make_unique<Ui::PreparedFileInformation>();
|
||||
result->filemime = filemime;
|
||||
|
||||
|
Reference in New Issue
Block a user