Fix media viewer window.
This commit is contained in:
parent
4b328a236c
commit
528a3cdca1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue