mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-12 19:19:03 +00:00
Merge pull request #7798 from ShFil119/impr/empty
Use empty instead of size
This commit is contained in:
commit
8d59d1bb11
28 changed files with 56 additions and 56 deletions
|
@ -200,7 +200,7 @@ void IOWindow::OnDetectButtonPressed()
|
|||
{
|
||||
const auto list = m_option_list->findItems(expr, Qt::MatchFixedString);
|
||||
|
||||
if (list.size() > 0)
|
||||
if (!list.empty())
|
||||
m_option_list->setCurrentItem(list[0]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue