summaryrefslogtreecommitdiffstats
path: root/pokescripting/SoundWrapper.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-08-27 04:26:53 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-08-27 04:26:53 +0000
commit1fe11fc794783370d8a03a93979b27508278b113 (patch)
tree3cadc4423a209b203f5d37e6756cb87ca99c3876 /pokescripting/SoundWrapper.cpp
parent31601349dff4b78a03bda0912d8d79b43eae42b0 (diff)
downloadsigen-1fe11fc794783370d8a03a93979b27508278b113.tar.gz
sigen-1fe11fc794783370d8a03a93979b27508278b113.tar.xz
sigen-1fe11fc794783370d8a03a93979b27508278b113.zip
[FIX] Fixed method in SoundWrapper to be more accurate
[FIX] QImage is now used internally instead of QPixmap [FIX] Template specialization moved to header file for Object (makes MinGW happy) git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@246 6ecfd1a5-f3ed-3746-8530-beee90d26b22
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);