added more information on error message
This commit is contained in:
parent
134b60c5cd
commit
e9820ddcb0
2 changed files with 599 additions and 594 deletions
|
@ -373,9 +373,10 @@ void CClientSettingsDlg::OnSoundCrdSelection ( int iSndDevIdx )
|
|||
if ( !strError.isEmpty() )
|
||||
{
|
||||
QMessageBox::critical ( this, APP_NAME,
|
||||
QString ( "The selected audio device could not be used because "
|
||||
"of the following error: " ) + strError +
|
||||
QString ( " The previous driver will be selected." ), "Ok", 0 );
|
||||
QString ( tr ( "The selected audio device could not be used "
|
||||
"because of the following error: " ) ) + strError +
|
||||
QString ( tr ( " The previous driver will be selected." ) ),
|
||||
"Ok", 0 );
|
||||
|
||||
// recover old selection
|
||||
cbSoundcard->setCurrentIndex ( pClient->GetSndCrdDev() );
|
||||
|
|
1186
windows/sound.cpp
1186
windows/sound.cpp
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue