diff options
| author | David Skoland <davidskoland@gmail.com> | 2017-02-16 01:33:36 +0100 |
|---|---|---|
| committer | David Skoland <davidskoland@gmail.com> | 2017-02-16 01:33:36 +0100 |
| commit | ca6b1030bed1a3f8ab8363c2ce89bd0acf432490 (patch) | |
| tree | d3fa3e53d12ea578833ec62e38ac6fc68ab004aa | |
| parent | b210f264a90f95aa8ca22cb03e313468767225a8 (diff) | |
removing debug statements
| -rw-r--r-- | aocharmovie.cpp | 6 | ||||
| -rw-r--r-- | courtroom.cpp | 3 |
2 files changed, 5 insertions, 4 deletions
diff --git a/aocharmovie.cpp b/aocharmovie.cpp index 5a455c73..d4b4214a 100644 --- a/aocharmovie.cpp +++ b/aocharmovie.cpp @@ -26,16 +26,20 @@ void AOCharMovie::play(QString p_char, QString p_emote, QString emote_prefix) { QString original_path = ao_app->get_character_path(p_char) + emote_prefix + p_emote.toLower() + ".gif"; QString placeholder_path = ao_app->get_theme_path() + "placeholder.gif"; + QString placeholder_default_path = ao_app->get_default_theme_path() + "placeholder.gif"; QString gif_path; if (file_exists(original_path)) gif_path = original_path; - else + else if (file_exists(placeholder_path)) gif_path = placeholder_path; + else + gif_path = placeholder_default_path; m_movie->stop(); this->clear(); + qDebug() << "gif_path: " << gif_path; m_movie->setFileName(gif_path); if (m_flipped) diff --git a/courtroom.cpp b/courtroom.cpp index 8fd3138a..78ddd9dd 100644 --- a/courtroom.cpp +++ b/courtroom.cpp @@ -1010,7 +1010,6 @@ void Courtroom::handle_chatmessage(QStringList *p_contents) return; text_state = 0; - qDebug() << "anim_state set to 0 in handle_chatmessage"; anim_state = 0; chatmessage_is_empty = m_chatmessage[MESSAGE] == " " || m_chatmessage[MESSAGE] == ""; @@ -1076,7 +1075,6 @@ void Courtroom::objection_done() void Courtroom::handle_chatmessage_2() { - qDebug() << "handle_chatmessage_2 called"; ui_vp_speedlines->stop(); ui_vp_player_char->stop(); @@ -1230,7 +1228,6 @@ void Courtroom::play_preanim() void Courtroom::preanim_done() { - qDebug() << "preanim_done called"; handle_chatmessage_3(); } |
