mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-15 06:58:37 +02:00
Use empty instead of size
This commit is contained in:
@ -223,7 +223,7 @@ void BreakpointWidget::Update()
|
||||
|
||||
void BreakpointWidget::OnDelete()
|
||||
{
|
||||
if (m_table->selectedItems().size() == 0)
|
||||
if (m_table->selectedItems().empty())
|
||||
return;
|
||||
|
||||
auto address = m_table->selectedItems()[0]->data(Qt::UserRole).toUInt();
|
||||
|
Reference in New Issue
Block a user