Merge pull request #8234 from JosJuice/version-in-title
Show Dolphin version in render window title
This commit is contained in:
commit
1606528093
|
@ -30,6 +30,7 @@
|
||||||
#include "Common/StringUtil.h"
|
#include "Common/StringUtil.h"
|
||||||
#include "Common/Thread.h"
|
#include "Common/Thread.h"
|
||||||
#include "Common/Timer.h"
|
#include "Common/Timer.h"
|
||||||
|
#include "Common/Version.h"
|
||||||
|
|
||||||
#include "Core/Analytics.h"
|
#include "Core/Analytics.h"
|
||||||
#include "Core/Boot/Boot.h"
|
#include "Core/Boot/Boot.h"
|
||||||
|
@ -865,7 +866,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)
|
if (SConfig::GetInstance().m_show_active_title)
|
||||||
{
|
{
|
||||||
const std::string& title = SConfig::GetInstance().GetTitleDescription();
|
const std::string& title = SConfig::GetInstance().GetTitleDescription();
|
||||||
|
|
Loading…
Reference in New Issue