From 952f0a91d4f1419bb8ecb294aa5a2e553dc5ee36 Mon Sep 17 00:00:00 2001 From: LoRd_MuldeR Date: Fri, 19 Feb 2021 00:19:25 +0100 Subject: [PATCH] In AboutDialog::tabChanged(), do not play the tick sound, if 'silent' flag is set. Fixes regression introduced in de228da9c51a3a1fc330442b5f6d9059e28b9e26. --- src/Config.h | 2 +- src/Dialog_About.cpp | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/Config.h b/src/Config.h index 2d32b0b0..5d26cd6b 100644 --- a/src/Config.h +++ b/src/Config.h @@ -35,7 +35,7 @@ #define VER_LAMEXP_MINOR_LO 9 #define VER_LAMEXP_TYPE RC #define VER_LAMEXP_PATCH 3 -#define VER_LAMEXP_BUILD 2294 +#define VER_LAMEXP_BUILD 2295 #define VER_LAMEXP_CONFG 2188 /////////////////////////////////////////////////////////////////////////////// diff --git a/src/Dialog_About.cpp b/src/Dialog_About.cpp index ed62a14f..b8e3b131 100644 --- a/src/Dialog_About.cpp +++ b/src/Dialog_About.cpp @@ -331,8 +331,11 @@ void AboutDialog::tabChanged(int index, const bool silent) qApp->restoreOverrideCursor(); } - //Play tick sound - PLAY_SOUND_OPTIONAL("tick", true); + //Play tick sound, unless silent + if (!silent) + { + PLAY_SOUND_OPTIONAL("tick", true); + } //Scroll to the top if(QWidget *tab = ui->tabWidget->widget(index))