In AboutDialog::tabChanged(), do not play the tick sound, if 'silent' flag is set.
Fixes regression introduced in de228da9c5
.
This commit is contained in:
parent
b9fc279c1a
commit
952f0a91d4
@ -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
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user