aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/discord_rich_presence.h4
-rw-r--r--include/networkmanager.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/include/discord_rich_presence.h b/include/discord_rich_presence.h
index e7ecc6ef..4115b516 100644
--- a/include/discord_rich_presence.h
+++ b/include/discord_rich_presence.h
@@ -5,6 +5,8 @@
#include <ctime>
#include <QDebug>
#include <string>
+#include <QCoreApplication>
+
#include <discord-rpc.h>
#include <cstring>
@@ -16,6 +18,8 @@ namespace AttorneyOnline {
class Discord
{
+ Q_DECLARE_TR_FUNCTIONS(Discord)
+
private:
const char* APPLICATION_ID = "399779271737868288";
std::string server_name, server_id;
diff --git a/include/networkmanager.h b/include/networkmanager.h
index 08b10db8..7584b69c 100644
--- a/include/networkmanager.h
+++ b/include/networkmanager.h
@@ -14,6 +14,8 @@
#undef MS_FAILOVER_SUPPORTED
#endif
+#undef MS_FAILOVER_SUPPORTED
+
#include "aopacket.h"
#include "aoapplication.h"