mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Use empty instead of size
This commit is contained in:
@ -265,7 +265,7 @@ void NetPlaySetupDialog::accept()
|
||||
else
|
||||
{
|
||||
auto items = m_host_games->selectedItems();
|
||||
if (items.size() == 0)
|
||||
if (items.empty())
|
||||
{
|
||||
QMessageBox::critical(this, tr("Error"), tr("You must select a game to host!"));
|
||||
return;
|
||||
|
Reference in New Issue
Block a user