Skip to content

Commit

Permalink
readability i guess?
Browse files Browse the repository at this point in the history
Co-authored-by: oldmud0 <[email protected]>
  • Loading branch information
stonedDiscord and oldmud0 authored Jun 6, 2022
1 parent c26049a commit bf79dfd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/courtroom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4579,9 +4579,10 @@ void Courtroom::on_sfx_edit_requested()
QString p_path = ao_app->get_real_path(ao_app->get_character_path(current_char, "soundlist.ini"));
if (!file_exists(p_path)) {
p_path = ao_app->get_real_path(ao_app->get_character_path(current_char, "sounds.ini"));
if (!file_exists(p_path)) {
p_path = ao_app->get_base_path() + "soundlist.ini";
}
}

if (!file_exists(p_path)) {
p_path = ao_app->get_base_path() + "soundlist.ini";
}
QDesktopServices::openUrl(QUrl::fromLocalFile(p_path));
}
Expand Down

0 comments on commit bf79dfd

Please sign in to comment.