summaryrefslogtreecommitdiffstats
path: root/src/multimedia/audio
diff options
context:
space:
mode:
Diffstat (limited to 'src/multimedia/audio')
-rw-r--r--src/multimedia/audio/qsound.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/multimedia/audio/qsound.cpp b/src/multimedia/audio/qsound.cpp
index c6e4f60e0..b6cf49671 100644
--- a/src/multimedia/audio/qsound.cpp
+++ b/src/multimedia/audio/qsound.cpp
@@ -92,7 +92,7 @@
*/
void QSound::play(const QString& filename)
{
- // Object destruction is generaly handled via deleteOnComplete
+ // Object destruction is generally handled via deleteOnComplete
// Unexpected cases will be handled via parenting of QSound objects to qApp
QSound *sound = new QSound(filename, qApp);
sound->connect(sound->m_soundEffect, &QSoundEffect::playingChanged,
@@ -159,7 +159,7 @@ void QSound::play()
*/
int QSound::loops() const
{
- // retain old API value for infite loops
+ // retain old API value for infinite loops
int loopCount = m_soundEffect->loopCount();
if (loopCount == QSoundEffect::Infinite)
loopCount = Infinite;
@@ -176,7 +176,7 @@ int QSound::loops() const
*/
int QSound::loopsRemaining() const
{
- // retain old API value for infite loops
+ // retain old API value for infinite loops
int loopsRemaining = m_soundEffect->loopsRemaining();
if (loopsRemaining == QSoundEffect::Infinite)
loopsRemaining = Infinite;