2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Get rid of osx and linux32 special targets

This commit is contained in:
Ilya Fedin
2021-08-11 06:27:26 +04:00
committed by John Preston
parent 1d2e34f5e9
commit 97262a99c7
48 changed files with 19 additions and 267 deletions

View File

@@ -1168,11 +1168,7 @@ void MainMenu::initResetScaleButton() {
return rpl::single(
screen->availableGeometry()
) | rpl::then(
#ifdef OS_MAC_OLD
base::qt_signal_producer(screen, &QScreen::virtualGeometryChanged)
#else // OS_MAC_OLD
base::qt_signal_producer(screen, &QScreen::availableGeometryChanged)
#endif // OS_MAC_OLD
);
}) | rpl::flatten_latest(
) | rpl::map([](QRect available) {