diff options
| author | Calvin Morrison <calvin@pobox.com> | 2026-05-17 09:44:33 -0400 |
|---|---|---|
| committer | Calvin Morrison <calvin@pobox.com> | 2026-05-17 09:44:33 -0400 |
| commit | 83ff745b43ebda7b33c52ac1a80a1408c59bfa70 (patch) | |
| tree | 3383f8d54d0523b3ed812957a56e70cb59a01b08 /src/ui/tmixpopup.cpp | |
| parent | 5ccdfbc97811847611ee366848aa4b4b767bd656 (diff) | |
for the pulse peak streams do nothing if windows aren't open to reduce cpu
Diffstat (limited to 'src/ui/tmixpopup.cpp')
| -rw-r--r-- | src/ui/tmixpopup.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ui/tmixpopup.cpp b/src/ui/tmixpopup.cpp index 85a0c54..2cdd16a 100644 --- a/src/ui/tmixpopup.cpp +++ b/src/ui/tmixpopup.cpp @@ -169,10 +169,17 @@ bool TmixPopup::justHidden() const return m_hideTime.isValid() && m_hideTime.elapsed() < 100; } +void TmixPopup::showEvent( TQShowEvent *e ) +{ + TQWidget::showEvent( e ); + m_model->addLevelViewer(); +} + void TmixPopup::hideEvent( TQHideEvent *e ) { TQWidget::hideEvent( e ); m_hideTime.start(); + m_model->removeLevelViewer(); } void TmixPopup::wheelEvent( TQWheelEvent *e ) |
