diff --git a/src/courtroom.cpp b/src/courtroom.cpp index 7646794..6e84def 100644 --- a/src/courtroom.cpp +++ b/src/courtroom.cpp @@ -2738,7 +2738,7 @@ bool Courtroom::handle_objection() objection_player->findAndPlayCharacterShout("custom", m_chatmessage[CHAR_NAME], ao_app->get_chat(m_chatmessage[CHAR_NAME])); } break; - m_chatmessage[EMOTE_MOD] = QChar(PREANIM); + m_chatmessage[EMOTE_MOD] = QChar(static_cast(PREANIM)); } ui_vp_objection->loadAndPlayAnimation(filename, m_chatmessage[CHAR_NAME], ao_app->get_chat(m_chatmessage[CHAR_NAME])); sfx_player->stopAll(); // Objection played! Cut all sfx. diff --git a/src/lobby.cpp b/src/lobby.cpp index 871af8b..b2a172a 100644 --- a/src/lobby.cpp +++ b/src/lobby.cpp @@ -6,7 +6,7 @@ #include "networkmanager.h" #include "widgets/direct_connect_dialog.h" #include "widgets/server_editor_dialog.h" - +#include #include #include #include diff --git a/src/lobby.h b/src/lobby.h index 0221b5f..db36acc 100644 --- a/src/lobby.h +++ b/src/lobby.h @@ -3,9 +3,10 @@ #include #include #include -#include +#include #include #include +#include #include "file_functions.h" #include "networkmanager.h" diff --git a/src/networkmanager.cpp b/src/networkmanager.cpp index 500b2c8..2208c2f 100644 --- a/src/networkmanager.cpp +++ b/src/networkmanager.cpp @@ -10,6 +10,7 @@ #include #include #include +#include NetworkManager::NetworkManager(AOApplication *parent) : QObject(parent)