From 12905f0dcb9d513378e7db11989455a1b764ef75 Mon Sep 17 00:00:00 2001
From: John Preston <johnprestonmail@gmail.com>
Date: Mon, 24 Dec 2018 12:16:05 +0400
Subject: [PATCH] Version 1.5.4: Fix build in Xcode.

---
 Telegram/SourceFiles/boxes/photo_crop_box.cpp | 4 ++--
 Telegram/SourceFiles/boxes/photo_crop_box.h   | 1 -
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/Telegram/SourceFiles/boxes/photo_crop_box.cpp b/Telegram/SourceFiles/boxes/photo_crop_box.cpp
index 434f7496b..d4ae20f82 100644
--- a/Telegram/SourceFiles/boxes/photo_crop_box.cpp
+++ b/Telegram/SourceFiles/boxes/photo_crop_box.cpp
@@ -15,8 +15,8 @@ PhotoCropBox::PhotoCropBox(
 	QWidget*,
 	const QImage &img,
 	const QString &title)
-: _img(img)
-, _title(title) {
+: _title(title)
+, _img(img) {
 }
 
 void PhotoCropBox::prepare() {
diff --git a/Telegram/SourceFiles/boxes/photo_crop_box.h b/Telegram/SourceFiles/boxes/photo_crop_box.h
index 251cf4f00..2db2cd792 100644
--- a/Telegram/SourceFiles/boxes/photo_crop_box.h
+++ b/Telegram/SourceFiles/boxes/photo_crop_box.h
@@ -37,7 +37,6 @@ private:
 	QImage _img;
 	QPixmap _thumb;
 	QImage _mask, _fade;
-	PeerId _peerId = 0;
 	rpl::event_stream<QImage> _readyImages;
 
 };