diff options
| author | Tilka <tilkax@gmail.com> | 2019-02-13 01:59:43 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-13 01:59:43 +0000 |
| commit | 8d59d1bb11bf594afc6fa3f0a860773c6fa6b8b5 (patch) | |
| tree | 39b666b2bd36c44c1787821c4a5d982e3a14b619 /Source/Core/DolphinQt/NetPlay/NetPlaySetupDialog.cpp | |
| parent | 6b22693e6ee783989f92c8a09a4912f4123235d5 (diff) | |
| parent | 49fe9f5db13f15460a49c5771ee0d2c6b8bfdc3c (diff) | |
Merge pull request #7798 from ShFil119/impr/empty
Use empty instead of size
Diffstat (limited to 'Source/Core/DolphinQt/NetPlay/NetPlaySetupDialog.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/NetPlay/NetPlaySetupDialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/NetPlay/NetPlaySetupDialog.cpp b/Source/Core/DolphinQt/NetPlay/NetPlaySetupDialog.cpp index 91713b5c3f..0da0bc6194 100644 --- a/Source/Core/DolphinQt/NetPlay/NetPlaySetupDialog.cpp +++ b/Source/Core/DolphinQt/NetPlay/NetPlaySetupDialog.cpp @@ -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; |
