summaryrefslogtreecommitdiff
path: root/src/model/pulsemodel.cpp
diff options
context:
space:
mode:
authorCalvin Morrison <calvin@pobox.com>2026-05-15 15:02:25 -0400
committerCalvin Morrison <calvin@pobox.com>2026-05-15 15:02:25 -0400
commite0c8fb0cdcb9c95e3efa60322c1733df0a965650 (patch)
treefac3f3dfd2b7d0c0e4e854387be91117088288af /src/model/pulsemodel.cpp
parente776bc768cf9afca1867200e25d64d315cd72a3e (diff)
Recording popup, level meters, UX polish
- Recording tray icon opens popup (mics + active recording streams) - Recording stream level meters forward from parent source signal - RecordingTray subclass for single-click (no double-click needed) - Context menu Set Default Output/Input shows checkmark when active - Last DeviceWidget in each row hides its right separator - Popup horizontal layout, configurable content (output/mic/apps) - Single-click tray, right-click menu for Open Mixer - Desktop file, icon, CMake install rules - Window bring-to-front across workspaces (KWin::forceActiveWindow) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'src/model/pulsemodel.cpp')
-rw-r--r--src/model/pulsemodel.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/model/pulsemodel.cpp b/src/model/pulsemodel.cpp
index a677edc..640b918 100644
--- a/src/model/pulsemodel.cpp
+++ b/src/model/pulsemodel.cpp
@@ -596,7 +596,11 @@ void PulseModel::customEvent( TQCustomEvent *e )
if ( ev->cat == AudioDevice::Recording && ev->parentIndex != PA_INVALID_INDEX ) {
m_sourceOutputToSource.insert( ev->paIndex, ev->parentIndex );
PulseDevice *src = findDevice( m_sources, ev->parentIndex );
- if ( src ) src->adjustRecordingCount( +1 );
+ if ( src ) {
+ src->adjustRecordingCount( +1 );
+ connect( src, TQ_SIGNAL(levelChanged(float)),
+ dev, TQ_SIGNAL(levelChanged(float)) );
+ }
}
}
}