From 39372432b78b3d0980b004903739539e565c0948 Mon Sep 17 00:00:00 2001 From: Osmium Sorcerer Date: Sun, 22 Mar 2026 17:34:25 +0000 Subject: Stop setting volume on evidence show Presenting evidence took volume as a parameter which it also set. It's unnecessary as the evidence uses the same SFX player, the volume of which is controlled by the player with a slider. --- src/courtroom.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/courtroom.cpp') diff --git a/src/courtroom.cpp b/src/courtroom.cpp index 4c6b7fb..0edef94 100644 --- a/src/courtroom.cpp +++ b/src/courtroom.cpp @@ -3443,7 +3443,7 @@ void Courtroom::display_evidence_image() QString f_image = global_evidence_list.at(f_evi_id - 1).image; // def jud and hlp should display the evidence icon on the RIGHT side bool is_left_side = !(side.startsWith("def") || side == "hlp"); // FIXME : Hardcoded - ui_vp_evidence_display->show_evidence(f_evi_id, f_image, is_left_side, sfx_player->volume()); + ui_vp_evidence_display->show_evidence(f_evi_id, f_image, is_left_side); } else { -- cgit