Browse Source

[qt, discord-rpc] Don't use named variant for icon (#2888)

Signed-off-by: lizzie <lizzie@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2888
Reviewed-by: Maufeat <sahyno1996@gmail.com>
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Co-authored-by: lizzie <lizzie@eden-emu.dev>
Co-committed-by: lizzie <lizzie@eden-emu.dev>
pull/2892/head
lizzie 2 months ago
committed by crueter
parent
commit
ae46778cc3
No known key found for this signature in database GPG Key ID: 425ACD2D4830EBC6
  1. 4
      src/qt_common/discord/discord_impl.cpp

4
src/qt_common/discord/discord_impl.cpp

@ -73,7 +73,7 @@ std::string DiscordImpl::GetGameString(const std::string& title) {
void DiscordImpl::UpdateGameStatus(bool use_default) { void DiscordImpl::UpdateGameStatus(bool use_default) {
const std::string default_text = "Eden is an emulator for the Nintendo Switch"; const std::string default_text = "Eden is an emulator for the Nintendo Switch";
const std::string default_image = "https://git.eden-emu.dev/eden-emu/eden/raw/branch/master/" const std::string default_image = "https://git.eden-emu.dev/eden-emu/eden/raw/branch/master/"
"dist/qt_themes/default/icons/256x256/eden_named.png";
"dist/qt_themes/default/icons/256x256/eden.png";
const std::string url = use_default ? default_image : game_url; const std::string url = use_default ? default_image : game_url;
s64 start_time = std::chrono::duration_cast<std::chrono::seconds>( s64 start_time = std::chrono::duration_cast<std::chrono::seconds>(
std::chrono::system_clock::now().time_since_epoch()) std::chrono::system_clock::now().time_since_epoch())
@ -95,7 +95,7 @@ void DiscordImpl::UpdateGameStatus(bool use_default) {
void DiscordImpl::Update() { void DiscordImpl::Update() {
const std::string default_text = "Eden is an emulator for the Nintendo Switch"; const std::string default_text = "Eden is an emulator for the Nintendo Switch";
const std::string default_image = "https://git.eden-emu.dev/eden-emu/eden/raw/branch/master/" const std::string default_image = "https://git.eden-emu.dev/eden-emu/eden/raw/branch/master/"
"dist/qt_themes/default/icons/256x256/eden_named.png";
"dist/qt_themes/default/icons/256x256/eden.png";
if (system.IsPoweredOn()) { if (system.IsPoweredOn()) {
system.GetAppLoader().ReadTitle(game_title); system.GetAppLoader().ReadTitle(game_title);

Loading…
Cancel
Save