| 1559 | } |
| 1560 | |
| 1561 | void OverlayController::setSoundVolume( double value, bool notify ) |
| 1562 | { |
| 1563 | m_activationSoundEffect.setVolume( value ); |
| 1564 | m_focusChangedSoundEffect.setVolume( value ); |
| 1565 | // leaving alarm sound alone for now as chaperone warning setting effects it |
| 1566 | // m_alarm01SoundEffect.setVolume( value); |
| 1567 | settings::setSetting( settings::DoubleSetting::APPLICATION_appVolume, |
| 1568 | value ); |
| 1569 | if ( notify ) |
| 1570 | { |
| 1571 | emit soundVolumeChanged( value ); |
| 1572 | } |
| 1573 | } |
| 1574 | |
| 1575 | double OverlayController::soundVolume() const |
| 1576 | { |
nothing calls this directly
no test coverage detected