AppVeyor git branch in title fix #2

This commit is contained in:
Zion Nimchuk 2017-09-27 12:25:25 -07:00 committed by Ivan
parent 2b1c757084
commit d36de7d54f

View File

@ -22,7 +22,7 @@ gs_frame::gs_frame(const QString& title, int w, int h, QIcon appIcon, bool disab
version = version.substr(0 , version.find_last_of("-"));
//Add branch to version on frame , unless it's master.
if (rpcs3::get_branch() != "master")
if (rpcs3::get_branch() != "master" || rpcs3::get_branch() != "HEAD")
{
version = version + "-" + rpcs3::get_branch();
}
@ -133,7 +133,7 @@ void gs_frame::show()
{
Emu.CallAfter([=]()
{
QWindow::show();
QWindow::show();
if (g_cfg.misc.start_fullscreen)
{
setVisibility(FullScreen);