Fix build in Xcode.

This commit is contained in:
John Preston 2017-12-26 18:05:17 +03:00
parent 1fc7dabd3e
commit 5f8143e6a4
3 changed files with 12 additions and 4 deletions

View File

@ -61,7 +61,6 @@ private:
object_ptr<Ui::InputArea> _field = { nullptr };
int _thumbx = 0;
int _thumby = 0;
int _thumbw = 0;
int _thumbh = 0;
Text _name;

View File

@ -196,8 +196,8 @@ FileLoadResult::FileLoadResult(
: taskId(taskId)
, id(id)
, to(to)
, caption(caption)
, album(std::move(album)) {
, album(std::move(album))
, caption(caption) {
}
FileLoadTask::FileLoadTask(

View File

@ -195,7 +195,16 @@ inline bool operator!=(const WebFileImageLocation &a, const WebFileImageLocation
namespace Images {
QImage prepareBlur(QImage image);
void prepareRound(QImage &image, ImageRoundRadius radius, RectParts corners = RectPart::AllCorners, QRect target = QRect());
void prepareRound(
QImage &image,
ImageRoundRadius radius,
RectParts corners = RectPart::AllCorners,
QRect target = QRect());
void prepareRound(
QImage &image,
QImage *cornerMasks,
RectParts corners = RectPart::AllCorners,
QRect target = QRect());
void prepareCircle(QImage &image);
QImage prepareColored(style::color add, QImage image);
QImage prepareOpaque(QImage image);