added more information on error message

This commit is contained in:
Volker Fischer 2009-12-01 08:52:06 +00:00
parent 134b60c5cd
commit e9820ddcb0
2 changed files with 599 additions and 594 deletions

View File

@ -373,9 +373,10 @@ void CClientSettingsDlg::OnSoundCrdSelection ( int iSndDevIdx )
if ( !strError.isEmpty() ) if ( !strError.isEmpty() )
{ {
QMessageBox::critical ( this, APP_NAME, QMessageBox::critical ( this, APP_NAME,
QString ( "The selected audio device could not be used because " QString ( tr ( "The selected audio device could not be used "
"of the following error: " ) + strError + "because of the following error: " ) ) + strError +
QString ( " The previous driver will be selected." ), "Ok", 0 ); QString ( tr ( " The previous driver will be selected." ) ),
"Ok", 0 );
// recover old selection // recover old selection
cbSoundcard->setCurrentIndex ( pClient->GetSndCrdDev() ); cbSoundcard->setCurrentIndex ( pClient->GetSndCrdDev() );

File diff suppressed because it is too large Load Diff