mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 23:53:58 +02:00
Fix media viewer window.
This commit is contained in:
parent
4b328a236c
commit
528a3cdca1
1 changed files with 3 additions and 1 deletions
|
@ -407,7 +407,9 @@ OverlayWidget::OverlayWidget()
|
||||||
return base::EventFilterResult::Continue;
|
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
|
// Without Qt::Tool starting with Qt 5.15.1 this widget
|
||||||
// when being opened from a fullscreen main window was
|
// when being opened from a fullscreen main window was
|
||||||
// opening not as overlay over the main window, but as
|
// opening not as overlay over the main window, but as
|
||||||
|
|
Loading…
Add table
Reference in a new issue