removing debug statements
This commit is contained in:
parent
b210f264a9
commit
ca6b1030be
@ -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)
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user