mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
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.
This commit is contained in:
@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user