diff options
| author | JosJuice <josjuice@gmail.com> | 2019-07-06 10:50:11 +0200 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2019-07-06 11:30:17 +0200 |
| commit | 92a655c8b90c62255bcd3fcc160e240c98f79217 (patch) | |
| tree | 8c3fbc41272e1ffb63bdd2315668fd573a386489 /Source/Core/DolphinQt/Debugger/CodeViewWidget.h | |
| parent | 0a7395bfba99719f71de5186a9916e66c1901f37 (diff) | |
DolphinQt: Don't update debug widgets when hidden
Saves on CPU usage when pausing/unpausing with the debugger disabled.
This is especially important when using frame advance rapidly.
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/CodeViewWidget.h')
| -rw-r--r-- | Source/Core/DolphinQt/Debugger/CodeViewWidget.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt/Debugger/CodeViewWidget.h b/Source/Core/DolphinQt/Debugger/CodeViewWidget.h index bf191649e0..50e8ccc365 100644 --- a/Source/Core/DolphinQt/Debugger/CodeViewWidget.h +++ b/Source/Core/DolphinQt/Debugger/CodeViewWidget.h @@ -13,6 +13,7 @@ class QKeyEvent; class QMouseEvent; class QResizeEvent; +class QShowEvent; class CodeViewWidget : public QTableWidget { @@ -56,6 +57,7 @@ private: void keyPressEvent(QKeyEvent* event) override; void mousePressEvent(QMouseEvent* event) override; void wheelEvent(QWheelEvent* event) override; + void showEvent(QShowEvent* event) override; void OnContextMenu(); |
