From ee4b9acfeb1a860cf67957548c544ff893ce71bb Mon Sep 17 00:00:00 2001 From: David Skoland Date: Fri, 16 Nov 2018 02:37:57 +0100 Subject: fixed get_sounds_path as well + nuked the last unneccessary tolower calls --- aoblipplayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'aoblipplayer.cpp') 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); } -- cgit