mirror of
https://github.com/vale981/tdesktop
synced 2025-03-06 02:01:40 -05:00
Fix build for old OS X versions.
This commit is contained in:
parent
69c73d0a2c
commit
2d4c99a6f7
1 changed files with 4 additions and 0 deletions
|
@ -137,7 +137,11 @@ MediaView::MediaView()
|
||||||
});
|
});
|
||||||
handleAuthSessionChange();
|
handleAuthSessionChange();
|
||||||
|
|
||||||
|
#ifdef OS_MAC_OLD
|
||||||
|
setWindowFlags(Qt::FramelessWindowHint);
|
||||||
|
#else // OS_MAC_OLD
|
||||||
setWindowFlags(Qt::FramelessWindowHint | Qt::MaximizeUsingFullscreenGeometryHint);
|
setWindowFlags(Qt::FramelessWindowHint | Qt::MaximizeUsingFullscreenGeometryHint);
|
||||||
|
#endif // OS_MAC_OLD
|
||||||
moveToScreen();
|
moveToScreen();
|
||||||
setAttribute(Qt::WA_NoSystemBackground, true);
|
setAttribute(Qt::WA_NoSystemBackground, true);
|
||||||
setAttribute(Qt::WA_TranslucentBackground, true);
|
setAttribute(Qt::WA_TranslucentBackground, true);
|
||||||
|
|
Loading…
Add table
Reference in a new issue