2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 14:17:45 +00:00

Fix build for old OS X versions.

This commit is contained in:
John Preston
2019-02-01 13:23:25 +03:00
parent 69c73d0a2c
commit 2d4c99a6f7

View File

@@ -137,7 +137,11 @@ MediaView::MediaView()
});
handleAuthSessionChange();
#ifdef OS_MAC_OLD
setWindowFlags(Qt::FramelessWindowHint);
#else // OS_MAC_OLD
setWindowFlags(Qt::FramelessWindowHint | Qt::MaximizeUsingFullscreenGeometryHint);
#endif // OS_MAC_OLD
moveToScreen();
setAttribute(Qt::WA_NoSystemBackground, true);
setAttribute(Qt::WA_TranslucentBackground, true);