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.
This commit is contained in:
parent
398aa2a9f9
commit
f3579e788d
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue