mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Add support for building against Qt 6
This commit is contained in:
@ -825,7 +825,7 @@ void MainWindow::TogglePause()
|
||||
void MainWindow::OnStopComplete()
|
||||
{
|
||||
m_stop_requested = false;
|
||||
HideRenderWidget(true, m_exit_requested);
|
||||
HideRenderWidget(!m_exit_requested, m_exit_requested);
|
||||
#ifdef USE_DISCORD_PRESENCE
|
||||
if (!m_netplay_dialog->isVisible())
|
||||
Discord::UpdateDiscordPresence();
|
||||
@ -834,7 +834,7 @@ void MainWindow::OnStopComplete()
|
||||
SetFullScreenResolution(false);
|
||||
|
||||
if (m_exit_requested || Settings::Instance().IsBatchModeEnabled())
|
||||
QGuiApplication::instance()->quit();
|
||||
QGuiApplication::exit(0);
|
||||
|
||||
// If the current emulation prevented the booting of another, do that now
|
||||
if (m_pending_boot != nullptr)
|
||||
|
Reference in New Issue
Block a user