diff options
| author | David Skoland <davidskoland@gmail.com> | 2018-11-16 02:37:57 +0100 |
|---|---|---|
| committer | David Skoland <davidskoland@gmail.com> | 2018-11-16 02:37:57 +0100 |
| commit | ee4b9acfeb1a860cf67957548c544ff893ce71bb (patch) | |
| tree | c9f3ab70d7a97d411bbf2d3316b3e228c796d8ce /aoblipplayer.cpp | |
| parent | 727c39a1df42a5aba8a9c863ee2f05169d204ffa (diff) | |
fixed get_sounds_path as well + nuked the last unneccessary tolower calls
Diffstat (limited to 'aoblipplayer.cpp')
| -rw-r--r-- | aoblipplayer.cpp | 2 |
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); } |
