diff options
| author | Salanto <support@salanto.de> | 2021-05-12 13:42:41 +0200 |
|---|---|---|
| committer | Salanto <support@salanto.de> | 2021-05-12 13:42:41 +0200 |
| commit | c6207a5478099176e1a5091d2adb31c52bdc2501 (patch) | |
| tree | 03f3abd7007196f168c63254beb440b6819d0e4f | |
| parent | c056182ba0dfa0097ad2a0026fdb8a0b707867b7 (diff) | |
Commit suggestion
| -rw-r--r-- | src/courtroom.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp index a2dca896..a29ebe2f 100644 --- a/src/courtroom.cpp +++ b/src/courtroom.cpp @@ -3825,7 +3825,7 @@ void Courtroom::handle_song(QStringList *p_contents) } if(!file_exists(ao_app->get_sfx_suffix(ao_app->get_music_path(f_song))) && !f_song.startsWith("http") - && f_song != "~stop.mp3" && ao_app->asset_url != NULL) { + && f_song != "~stop.mp3" && !ao_app->asset_url.isEmpty()) { f_song = (ao_app->asset_url + "sounds/music/" + f_song).toLower(); } |
