mirror of https://github.com/AxioDL/metaforce.git
Fix macOS version string
This commit is contained in:
parent
9be51c0483
commit
906c476139
|
@ -115,7 +115,8 @@ SysReqTableModel::SysReqTableModel(QObject* parent) : QAbstractTableModel(parent
|
||||||
if (m_macosPatch == 0) {
|
if (m_macosPatch == 0) {
|
||||||
m_osVersion = tr("macOS %1.%2").arg(m_macosMajor, m_macosMinor);
|
m_osVersion = tr("macOS %1.%2").arg(m_macosMajor, m_macosMinor);
|
||||||
} else {
|
} else {
|
||||||
m_osVersion = tr("macOS %1.%2.%3").arg(m_macosMajor, m_macosMinor, m_macosPatch);
|
m_osVersion = tr("macOS %1.%2.%3")
|
||||||
|
.arg(QString::number(m_macosMajor), QString::number(m_macosMinor), QString::number(m_macosPatch));
|
||||||
}
|
}
|
||||||
#elif _WIN32
|
#elif _WIN32
|
||||||
m_win7SP1OrGreater = IsWindows7SP1OrGreater();
|
m_win7SP1OrGreater = IsWindows7SP1OrGreater();
|
||||||
|
|
Loading…
Reference in New Issue