| | 1467 | // Check whether a Phonon backend is available |
| | 1468 | if( Phonon::BackendCapabilities::availableAudioOutputDevices().isEmpty() ) |
| | 1469 | { |
| | 1470 | |
| | 1471 | // Show the message in the GUI as well. |
| | 1472 | // Allow to user to choose "don't show this message again", in case he/she doesn't know how to fix it. |
| | 1473 | KMessageBox::information( this, |
| | 1474 | i18nc( "Text for a message dialog box", |
| | 1475 | "<html><p>KMess will not be able to play sounds.</p>" |
| | 1476 | "<p>Make sure you have installed a so-called \"Phonon backend\":<br/>" |
| | 1477 | "you can usually install a Phonon backend by searching for \"phonon\" " |
| | 1478 | "in your package manager.</p>" |
| | 1479 | "</html>" ), |
| | 1480 | i18nc( "Message box title", "Error With Sounds" ), |
| | 1481 | "phononBackendNotFound" ); |
| | 1482 | } |
| | 1483 | |