summaryrefslogtreecommitdiffstats
path: root/pokescripting/SoundWrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pokescripting/SoundWrapper.cpp')
-rw-r--r--pokescripting/SoundWrapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pokescripting/SoundWrapper.cpp b/pokescripting/SoundWrapper.cpp
index 7754048d..ebecdfc2 100644
--- a/pokescripting/SoundWrapper.cpp
+++ b/pokescripting/SoundWrapper.cpp
@@ -60,7 +60,7 @@ Pokemod::Sound::Type Pokescripting::SoundWrapper::type() const
return m_sound->type();
}
-Phonon::MediaObject* Pokescripting::SoundWrapper::data()
+Phonon::MediaObject* Pokescripting::SoundWrapper::audio()
{
Phonon::MediaObject* media = new Phonon::MediaObject(this);
QBuffer* buffer = new QBuffer(media);