mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Fix build for old OS X versions.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user