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:
@ -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]);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user