Qt: Don't exit fullscreen when switching to game list with RenderToSeparateWindow
Amends 24a16db437
This commit is contained in:
parent
24a16db437
commit
56ebacbdb9
|
@ -2189,8 +2189,9 @@ bool MainWindow::shouldHideMainWindow() const
|
|||
|
||||
void MainWindow::switchToGameListView()
|
||||
{
|
||||
// Normally, we'd never end up here. But on MacOS, the global menu is accessible while fullscreen.
|
||||
exitFullscreen(true);
|
||||
if (QtHost::CanRenderToMainWindow())
|
||||
// Normally, we'd never end up here. But on MacOS, the global menu is accessible while fullscreen.
|
||||
exitFullscreen(true);
|
||||
|
||||
if (!isShowingGameList())
|
||||
{
|
||||
|
@ -3040,8 +3041,7 @@ void MainWindow::onToolsCoverDownloaderTriggered()
|
|||
{
|
||||
// This can be invoked via big picture, so exit fullscreen.
|
||||
// Wait for the fullscreen request to actually go through, otherwise the downloader appears behind the main window.
|
||||
if (isRenderingFullscreen())
|
||||
exitFullscreen(true);
|
||||
exitFullscreen(true);
|
||||
|
||||
if (!m_cover_download_window)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue