2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 22:55:11 +00:00

Version 1.2.16: Fix build in Xcode 9.3.

This commit is contained in:
John Preston
2018-04-07 12:47:08 +04:00
parent dd53bd1c55
commit 87d6081408
31 changed files with 81 additions and 78 deletions

View File

@@ -152,7 +152,7 @@ void MediaView::refreshLang() {
}
void MediaView::moveToScreen() {
auto widgetScreen = [this](auto &&widget) -> QScreen* {
auto widgetScreen = [&](auto &&widget) -> QScreen* {
if (auto handle = widget ? widget->windowHandle() : nullptr) {
return handle->screen();
}
@@ -2280,7 +2280,7 @@ void MediaView::paintThemePreview(Painter &p, QRect clip) {
}
}
auto fillOverlay = [this, &p, clip](QRect fill) {
auto fillOverlay = [&](QRect fill) {
auto clipped = fill.intersected(clip);
if (!clipped.isEmpty()) {
p.setOpacity(st::themePreviewOverlayOpacity);