mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Fix media viewer window.
This commit is contained in:
@@ -407,7 +407,9 @@ OverlayWidget::OverlayWidget()
|
||||
return base::EventFilterResult::Continue;
|
||||
});
|
||||
|
||||
if constexpr (Platform::IsMac()) {
|
||||
if constexpr (Platform::IsWindows()) {
|
||||
_widget->setWindowFlags(Qt::FramelessWindowHint);
|
||||
} else if constexpr (Platform::IsMac()) {
|
||||
// Without Qt::Tool starting with Qt 5.15.1 this widget
|
||||
// when being opened from a fullscreen main window was
|
||||
// opening not as overlay over the main window, but as
|
||||
|
||||
Reference in New Issue
Block a user