Fix build.

This commit is contained in:
John Preston 2020-02-05 22:06:40 +04:00
parent ffeff09561
commit 76ff9a562e

View File

@ -47,7 +47,7 @@ constexpr auto kMsInSecond = 1000;
[[nodiscard]] QRect ScreenFromPosition(QPoint point) {
const auto screen = [&]() -> QScreen* {
for (const auto screen : QGuiApplication::screens()) {
if (screen->virtualGeometry().contains(point)) {dD
if (screen->virtualGeometry().contains(point)) {
return screen;
}
}