Qt: Do not require to close games when adding new disc game directories

This commit is contained in:
Eladash 2023-06-23 19:02:39 +03:00 committed by Ivan
parent 70ce7ee106
commit 00502e94b5

View file

@ -3364,14 +3364,8 @@ void main_window::dropEvent(QDropEvent* event)
}
case drop_type::drop_dir: // import valid games to gamelist (games.yaml)
{
if (!m_gui_settings->GetBootConfirmation(this))
{
return;
}
for (const auto& path : drop_paths)
{
Emu.GracefulShutdown(false);
AddGamesFromDir(path);
}