QTfrontend/util/SDLInteraction.cpp
changeset 6167 728cabee2c9f
parent 6166 701c5b8fac56
child 6168 6f301dac12ff
--- a/QTfrontend/util/SDLInteraction.cpp	Fri Oct 21 08:03:42 2011 +0200
+++ b/QTfrontend/util/SDLInteraction.cpp	Fri Oct 21 08:41:21 2011 +0200
@@ -50,7 +50,7 @@
         addGameControllerKeys();
     SDL_QuitSubSystem(SDL_INIT_JOYSTICK);
 
-    soundMap = new QMap<QString,Mix_Chunk*>();
+    m_soundMap = new QMap<QString,Mix_Chunk*>();
 }
 
 
@@ -65,7 +65,7 @@
     }
     SDL_Quit();
 
-    delete soundMap;
+    delete m_soundMap;
 }
 
 
@@ -184,10 +184,10 @@
 void SDLInteraction::playSoundFile(const QString & soundFile)
 {
     SDLAudioInit();
-    if (!soundMap->contains(soundFile))
-        soundMap->insert(soundFile, Mix_LoadWAV(soundFile.toLocal8Bit().constData()));
+    if (!m_soundMap->contains(soundFile))
+        m_soundMap->insert(soundFile, Mix_LoadWAV(soundFile.toLocal8Bit().constData()));
 
-    Mix_PlayChannel(-1, soundMap->value(soundFile), 0);
+    Mix_PlayChannel(-1, m_soundMap->value(soundFile), 0);
 }