diff options
| author | Calvin Morrison <calvin@pobox.com> | 2026-05-24 14:45:28 -0400 |
|---|---|---|
| committer | Calvin Morrison <calvin@pobox.com> | 2026-05-24 14:45:28 -0400 |
| commit | 19f21f3f07d80f5bf9845bd6fd04c7d9122b46b2 (patch) | |
| tree | 7037224ef0ccaf90f00d440e925dcb9d552e87e5 /src/ui/mixerwindow.cpp | |
| parent | ff020f03a29dd26bda0b891c562226fa7a61eb19 (diff) | |
add Open Devices to pulse tray right-click menu
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'src/ui/mixerwindow.cpp')
| -rw-r--r-- | src/ui/mixerwindow.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/ui/mixerwindow.cpp b/src/ui/mixerwindow.cpp index 2eac32d..a85ee34 100644 --- a/src/ui/mixerwindow.cpp +++ b/src/ui/mixerwindow.cpp @@ -236,6 +236,20 @@ void MixerWindow::bringToFront() KWin::forceActiveWindow( winId() ); } +void MixerWindow::showDevices() +{ + if ( m_devicesInTabs ) { + m_outerStack->raiseWidget( 0 ); + m_tabs->showPage( m_devicesPage ); + } else { + m_outerStack->raiseWidget( 1 ); + updateDevicesButton(); + repositionDevicesBtn(); + m_devicesBtn->raise(); + } + bringToFront(); +} + void MixerWindow::showAbout() { TDEAboutData about( |
