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/Debugger/WatchWidget.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/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); |
