Changed: Disable architecture choice under OS X (always 64 bits)

--HG--
branch : develop
feature/pipeline-tools
kervala 8 years ago
parent 4ed4c14971
commit efdbedce3e

@ -35,17 +35,28 @@ CInstallDialog::CInstallDialog():QDialog()
// update default destination
onDestinationDefaultButtonClicked();
#ifdef Q_OS_MAC
// check whether OS architecture is 32 or 64 bits
if (CConfigFile::has64bitsOS())
{
// 64 bits enbabled by default
clientArchGroupBox->setVisible(true);
clientArch64RadioButton->setChecked(true);
clientArch32RadioButton->setChecked(false);
}
else
{
// only 32 bits is available
clientArchGroupBox->setVisible(false);
clientArch64RadioButton->setChecked(false);
clientArch32RadioButton->setChecked(true);
}
#else
// only 64 bits for OS X
clientArchGroupBox->setVisible(false);
clientArch64RadioButton->setChecked(true);
clientArch32RadioButton->setChecked(false);
#endif
const CServer &server = CConfigFile::getInstance()->getServer();

@ -49,17 +49,28 @@ CMigrateDialog::CMigrateDialog():QDialog()
// update default destination
onDestinationDefaultButtonClicked();
#ifdef Q_OS_MAC
// check whether OS architecture is 32 or 64 bits
if (CConfigFile::has64bitsOS())
{
// 64 bits enbabled by default
clientArchGroupBox->setVisible(true);
clientArch64RadioButton->setChecked(true);
clientArch32RadioButton->setChecked(false);
}
else
{
// only 32 bits is available
clientArchGroupBox->setVisible(false);
clientArch64RadioButton->setChecked(false);
clientArch32RadioButton->setChecked(true);
}
#else
// only 64 bits for OS X
clientArchGroupBox->setVisible(false);
clientArch64RadioButton->setChecked(true);
clientArch32RadioButton->setChecked(false);
#endif
const CServer &server = CConfigFile::getInstance()->getServer();

Loading…
Cancel
Save