diff options
| author | Filip Gawin <filip.gawin@zoho.com> | 2019-02-12 23:47:17 +0100 |
|---|---|---|
| committer | Filip Gawin <filip.gawin@zoho.com> | 2019-02-13 00:03:49 +0100 |
| commit | 49fe9f5db13f15460a49c5771ee0d2c6b8bfdc3c (patch) | |
| tree | d5bbc9e6df9ade7cd4e6917af5cc0f286eaa91ff /Source/Core/DolphinQt/Debugger/WatchWidget.cpp | |
| parent | 363ce67459fd48253d2a38cf2528c7465db49911 (diff) | |
Use empty instead of size
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/WatchWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Debugger/WatchWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/Debugger/WatchWidget.cpp b/Source/Core/DolphinQt/Debugger/WatchWidget.cpp index 69057f0dbb..d4bc8ae65a 100644 --- a/Source/Core/DolphinQt/Debugger/WatchWidget.cpp +++ b/Source/Core/DolphinQt/Debugger/WatchWidget.cpp @@ -232,7 +232,7 @@ void WatchWidget::ShowContextMenu() { QMenu* menu = new QMenu(this); - if (m_table->selectedItems().size()) + if (!m_table->selectedItems().empty()) { auto row_variant = m_table->selectedItems()[0]->data(Qt::UserRole); |
