summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndre Hartmann <aha_1980@gmx.de>2018-03-11 22:07:19 +0100
committerAndré Hartmann <aha_1980@gmx.de>2018-03-27 10:52:31 +0000
commita7405ab8991083ef24c267b6ae6d53b260d89523 (patch)
tree940365070ac2b98cf678465226127e1c3c65a8bd /src
parentb8af54a93ffdd2c7e9b781ffbd117558d1b805d1 (diff)
downloadqtmultimedia-a7405ab8991083ef24c267b6ae6d53b260d89523.tar.gz
QSound: Fix comment typos
Change-Id: I13cf879be6fc6225552990b8196aeb39299b8e3f Reviewed-by: Christian Stromme <christian.stromme@qt.io>
Diffstat (limited to 'src')
-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;