tdesktop/Telegram/SourceFiles/platform/win/file_utilities_win.h

21 lines
459 B
C++

/*
This file is part of Telegram Desktop,
the official desktop application for the Telegram messaging service.
For license and copyright information please follow this link:
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#pragma once
#include "platform/platform_file_utilities.h"
namespace Platform {
namespace File {
inline QString UrlToLocal(const QUrl &url) {
return url.toLocalFile();
}
} // namespace File
} // namespace Platform