aboutsummaryrefslogtreecommitdiff
path: root/include/discord_rich_presence.h
diff options
context:
space:
mode:
authoroldmud0 <oldmud0@users.noreply.github.com>2018-05-29 19:21:49 -0500
committerstonedDiscord <stoned@derpymail.org>2019-07-28 19:00:34 +0200
commit762702aff852701c44eb0f07ee02c0fdfd1fd85b (patch)
treec88c3e6d0c7ea48cdc039339adbd63d95e83662f /include/discord_rich_presence.h
parent319cb0adee1b8a65d1daf78aa903d6ffd2952c9c (diff)
Make all strings translatable
Diffstat (limited to 'include/discord_rich_presence.h')
-rw-r--r--include/discord_rich_presence.h4
1 files changed, 4 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;