Add Discord Rich Presence integration for Windows

This commit is contained in:
Cameron Gutman
2019-06-29 17:40:30 -07:00
parent 82b6b60b31
commit 0a5051f959
15 changed files with 243 additions and 0 deletions

View File

@@ -499,6 +499,22 @@ Flickable {
StreamingPreferences.connectionWarnings = checked
}
}
CheckBox {
visible: SystemProperties.hasDiscordIntegration
id: discordPresenceCheck
text: "Discord Rich Presence integration"
font.pointSize: 12
checked: StreamingPreferences.richPresence
onCheckedChanged: {
StreamingPreferences.richPresence = checked
}
ToolTip.delay: 1000
ToolTip.timeout: 5000
ToolTip.visible: hovered
ToolTip.text: "Updates your Discord status to display the name of the game you're streaming."
}
}
}
}