Skip to content
Browse files

Show Dolphin version in render window title

This was in DolphinWX but not DolphinQt. It's useful for telling if
users who post screenshots have an up-to-date version of Dolphin.

The old implementation of this prepended the version in DolphinWX code
rather than Core code, but I thought it'd be simpler to do it in Core.
  • Loading branch information...
JosJuice committed Jul 8, 2019
1 parent 398aa2a commit f3579e788d452a49251aa933843ac2f8e9335076
Showing with 3 additions and 1 deletion.
  1. +3 −1 Source/Core/Core/Core.cpp
@@ -30,6 +30,7 @@
#include "Common/StringUtil.h"
#include "Common/Thread.h"
#include "Common/Timer.h"
#include "Common/Version.h"

#include "Core/Analytics.h"
#include "Core/Boot/Boot.h"
@@ -864,7 +865,8 @@ void UpdateTitle()

std::string message = StringFromFormat("%s | %s", SSettings.c_str(), SFPS.c_str());
std::string message = StringFromFormat("%s | %s | %s", Common::scm_rev_str.c_str(),
SSettings.c_str(), SFPS.c_str());
if (SConfig::GetInstance().m_show_active_title)
const std::string& title = SConfig::GetInstance().GetTitleDescription();

0 comments on commit f3579e7

Please sign in to comment.
You can’t perform that action at this time.