diff options
| author | Osmium Sorcerer <os@sof.beauty> | 2026-03-22 17:34:25 +0000 |
|---|---|---|
| committer | Osmium Sorcerer <os@sof.beauty> | 2026-03-29 22:22:25 +0000 |
| commit | 39372432b78b3d0980b004903739539e565c0948 (patch) | |
| tree | 30be072cb44575b1972fb4b34c4b7b371ff2b52f /src/courtroom.cpp | |
| parent | ee9705955ccd52bd973c377c3a1a22ed768a3707 (diff) | |
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.
Diffstat (limited to 'src/courtroom.cpp')
| -rw-r--r-- | src/courtroom.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |
