Fix a crash due to half-hidden media viewer

This commit is contained in:
Ilya Fedin 2024-04-07 14:19:23 +04:00 committed by John Preston
parent 3da8351522
commit 84ce72ec7a
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ void Launch(const QString &filepath) {
void ShowInFolder(const QString &filepath) {
crl::on_main([=] {
Ui::PreventDelayedActivation();
if (Platform::IsLinux()) {
if (Platform::IsX11()) {
// Hide mediaview to make other apps visible.
Core::App().hideMediaView();
}