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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user