From ca47e4ebfdc5c5c625855a44161ee9f38f1ddcc2 Mon Sep 17 00:00:00 2001 From: John Preston Date: Fri, 14 Jul 2017 15:52:53 +0300 Subject: [PATCH] Alpha 1.1.13: Fix build for Xcode. --- Telegram/SourceFiles/platform/mac/window_title_mac.mm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Telegram/SourceFiles/platform/mac/window_title_mac.mm b/Telegram/SourceFiles/platform/mac/window_title_mac.mm index d5a156487d..0d5151e14d 100644 --- a/Telegram/SourceFiles/platform/mac/window_title_mac.mm +++ b/Telegram/SourceFiles/platform/mac/window_title_mac.mm @@ -194,9 +194,8 @@ void PreviewWindowFramePaint(QImage &preview, const style::palette &palette, QRe corners[1] = roundMask.copy(retinaRadius, 0, retinaRadius, retinaRadius); corners[2] = roundMask.copy(0, retinaRadius, retinaRadius, retinaRadius); corners[3] = roundMask.copy(retinaRadius, retinaRadius, retinaRadius, retinaRadius); - QImage *cornersPointers[] = { &corners[0], &corners[1], &corners[2], &corners[3] }; auto rounded = preview.copy(inner.x() * retina, inner.y() * retina, inner.width() * retina, inner.height() * retina); - Images::prepareRound(rounded, cornersPointers); + Images::prepareRound(rounded, corners); preview.fill(st::themePreviewBg->c); auto topLeft = st::macWindowShadowTopLeft.instance(QColor(0, 0, 0), dbisOne);