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