aboutsummaryrefslogtreecommitdiff
path: root/aoblipplayer.cpp
diff options
context:
space:
mode:
authorDavid Skoland <davidskoland@gmail.com>2018-11-16 02:37:57 +0100
committerDavid Skoland <davidskoland@gmail.com>2018-11-16 02:37:57 +0100
commitee4b9acfeb1a860cf67957548c544ff893ce71bb (patch)
treec9f3ab70d7a97d411bbf2d3316b3e228c796d8ce /aoblipplayer.cpp
parent727c39a1df42a5aba8a9c863ee2f05169d204ffa (diff)
fixed get_sounds_path as well + nuked the last unneccessary tolower calls
Diffstat (limited to 'aoblipplayer.cpp')
-rw-r--r--aoblipplayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/aoblipplayer.cpp b/aoblipplayer.cpp
index 5e3929e2..1e33236d 100644
--- a/aoblipplayer.cpp
+++ b/aoblipplayer.cpp
@@ -16,7 +16,7 @@ AOBlipPlayer::~AOBlipPlayer()
void AOBlipPlayer::set_blips(QString p_sfx)
{
m_sfxplayer->stop();
- QString f_path = ao_app->get_sounds_path() + p_sfx.toLower();
+ QString f_path = ao_app->get_sounds_path(p_sfx);
m_sfxplayer->setSource(QUrl::fromLocalFile(f_path));
set_volume(m_volume);
}