Skip to content

Commit

Permalink
Merge pull request #1558 from contour-terminal/fix/long_bell_queue
Browse files Browse the repository at this point in the history
Improves handling of constant bell sound spawning
  • Loading branch information
christianparpart authored Jul 2, 2024
2 parents d527447 + 485b340 commit 25e4201
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions metainfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@
<li>Fixes bell sound in spawned window in same process (#1515)</li>
<li>Fixes status line crush (#1511)</li>
<li>Fixes application window icon on (KDE) Wayland</li>
<li>Improves handling of constant bell sound spawning</li>
</ul>
</description>
</release>
Expand Down
2 changes: 1 addition & 1 deletion src/contour/ui.template/Terminal.qml.in
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ ContourTerminal

function playBell(volume) {
if (bellSoundEffect.playbackState === MediaPlayer.PlayingState)
bellSoundEffect.stop();
return;

if (bellSoundEffect.audioOutput)
// Qt 6 solution to set the volume
Expand Down

0 comments on commit 25e4201

Please sign in to comment.