mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-25 01:50:36 +00:00
Fix build.
This commit is contained in:
parent
ffeff09561
commit
76ff9a562e
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user