aboutsummaryrefslogtreecommitdiff
path: root/src/discord_rich_presence.cpp
diff options
context:
space:
mode:
authorRosemary Witchaven <32779090+in1tiate@users.noreply.github.com>2022-07-29 11:23:36 -0500
committerGitHub <noreply@github.com>2022-07-29 18:23:36 +0200
commite36d79f7499ca4484585fad7738df4764f3fd0aa (patch)
tree3256a4c8b941817387ef65136232cfbb347849e9 /src/discord_rich_presence.cpp
parent834c5ff929d9044fc1237655c5d5ad4ae8a653cf (diff)
Fix or suppress compiler warnings (Qt 5.15 w/MinGW) (#818)
* Major cleanup of screenshake code * Add pre-5.10 support for screenshake math * more compat, uglier too * add surprise tool * we don't need inline functions * only run qsrand on old versions * Squash compiler warnings * >= not > please * only run qsrand on old versions * Squash compiler warnings * >= not > please Co-authored-by: stonedDiscord <Tukz@gmx.de> Co-authored-by: Salanto <62221668+Salanto@users.noreply.github.com>
Diffstat (limited to 'src/discord_rich_presence.cpp')
-rw-r--r--src/discord_rich_presence.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/discord_rich_presence.cpp b/src/discord_rich_presence.cpp
index cd3a475a..81e5a86c 100644
--- a/src/discord_rich_presence.cpp
+++ b/src/discord_rich_presence.cpp
@@ -106,11 +106,14 @@ void Discord::state_lobby() {}
void Discord::state_server(std::string name, std::string server_id)
{
+ Q_UNUSED(name);
+ Q_UNUSED(server_id);
qDebug() << "Discord RPC: Setting server state";
}
void Discord::state_character(std::string name)
{
+ Q_UNUSED(name);
qDebug() << "Discord RPC: Setting character state";
}