mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-06-07 15:44:59 -06:00
HEAD or master will no longer show up in the titlebar
This commit is contained in:
parent
3e7ed8a831
commit
865bb47462
@ -26,7 +26,7 @@ gs_frame::gs_frame(const QString& title, int w, int h, QIcon appIcon, bool disab
|
|||||||
version = version.substr(0 , version.find_last_of("-"));
|
version = version.substr(0 , version.find_last_of("-"));
|
||||||
|
|
||||||
//Add branch to version on frame , unless it's master.
|
//Add branch to version on frame , unless it's master.
|
||||||
if (rpcs3::get_branch() != "master" || rpcs3::get_branch() != "HEAD")
|
if (rpcs3::get_branch().compare("master") != 0 && rpcs3::get_branch().compare("HEAD") != 0)
|
||||||
{
|
{
|
||||||
version = version + "-" + rpcs3::get_branch();
|
version = version + "-" + rpcs3::get_branch();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user