Closed beta 10019010: fixed build for Xcode.

This commit is contained in:
John Preston 2016-12-01 14:38:04 +03:00
parent 3cff50009c
commit 2b3631f3ae
2 changed files with 3 additions and 1 deletions

View File

@ -6598,7 +6598,7 @@ bool HistoryWidget::confirmSendingFiles(const QMimeData *data, CompressConfirm c
return false;
}
auto &urls = data->urls();
auto urls = data->urls();
if (!urls.isEmpty()) {
for_const (auto &url, urls) {
if (url.isLocalFile()) {

View File

@ -20,6 +20,8 @@ Copyright (c) 2014-2016 John Preston, https://desktop.telegram.org
*/
#pragma once
#include "ui/filedialog.h"
namespace Platform {
namespace FileDialog {