mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-26 17:16:20 +00:00
Changed: 64 bits clients only available since Vista under Windows, see #279
--HG-- branch : develop
This commit is contained in:
parent
30aa93d55a
commit
ab828febbb
3 changed files with 5 additions and 2 deletions
|
@ -455,6 +455,11 @@ QString CConfigFile::getMenuDirectory() const
|
|||
|
||||
bool CConfigFile::has64bitsOS()
|
||||
{
|
||||
#ifdef Q_OS_WIN32
|
||||
// 64 bits only supported under Vista and up
|
||||
if (QSysInfo::windowsVersion() < QSysInfo::WV_VISTA) return false;
|
||||
#endif
|
||||
|
||||
return QSysInfo::currentCpuArchitecture() == "x86_64";
|
||||
}
|
||||
|
||||
|
|
|
@ -54,7 +54,6 @@ CInstallDialog::CInstallDialog():QDialog()
|
|||
updateDestinationText();
|
||||
|
||||
// check whether OS architecture is 32 or 64 bits
|
||||
// TODO: 64 bits client only supported under Vista+
|
||||
if (CConfigFile::has64bitsOS())
|
||||
{
|
||||
clientArchGroupBox->setVisible(true);
|
||||
|
|
|
@ -51,7 +51,6 @@ CMigrateDialog::CMigrateDialog():QDialog()
|
|||
updateDestinationText();
|
||||
|
||||
// check whether OS architecture is 32 or 64 bits
|
||||
// TODO: 64 bits client only supported under Vista+
|
||||
if (CConfigFile::has64bitsOS())
|
||||
{
|
||||
clientArchGroupBox->setVisible(true);
|
||||
|
|
Loading…
Reference in a new issue