mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-30 03:32:55 +00:00
Qt: cleanup some comments
This commit is contained in:
parent
71c56b719c
commit
b44b44b3c4
@ -32,14 +32,11 @@ gs_frame::gs_frame(const QString& title, const QRect& geometry, const QIcon& app
|
|||||||
{
|
{
|
||||||
m_disable_mouse = gui_settings->GetValue(gui::gs_disableMouse).toBool();
|
m_disable_mouse = gui_settings->GetValue(gui::gs_disableMouse).toBool();
|
||||||
|
|
||||||
// Workaround for a Qt bug affecting 5.11.1 binaries
|
// Get version by substringing VersionNumber-buildnumber-commithash to get just the part before the dash
|
||||||
//m_use_5_11_1_workaround = QLibraryInfo::version() == QVersionNumber(5, 11, 1);
|
|
||||||
|
|
||||||
//Get version by substringing VersionNumber-buildnumber-commithash to get just the part before the dash
|
|
||||||
std::string version = rpcs3::version.to_string();
|
std::string version = rpcs3::version.to_string();
|
||||||
version = version.substr(0 , version.find_last_of('-'));
|
version = version.substr(0 , version.find_last_of('-'));
|
||||||
|
|
||||||
//Add branch and commit hash to version on frame , unless it's master.
|
// Add branch and commit hash to version on frame unless it's master.
|
||||||
if ((rpcs3::get_branch().compare("master") != 0) && (rpcs3::get_branch().compare("HEAD") != 0))
|
if ((rpcs3::get_branch().compare("master") != 0) && (rpcs3::get_branch().compare("HEAD") != 0))
|
||||||
{
|
{
|
||||||
version = version + "-" + rpcs3::version.to_string().substr((rpcs3::version.to_string().find_last_of('-') + 1), 8) + "-" + rpcs3::get_branch();
|
version = version + "-" + rpcs3::version.to_string().substr((rpcs3::version.to_string().find_last_of('-') + 1), 8) + "-" + rpcs3::get_branch();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user