Merge with develop

--HG--
branch : compatibility-develop
hg/compatibility-develop
kervala 8 years ago
commit 55d357e555

@ -36,6 +36,11 @@ CInstallDialog::CInstallDialog():QDialog()
onDestinationDefaultButtonClicked();
#ifdef Q_OS_MAC
// only 64 bits for OS X
clientArchGroupBox->setVisible(false);
clientArch64RadioButton->setChecked(true);
clientArch32RadioButton->setChecked(false);
#else
// check whether OS architecture is 32 or 64 bits
if (CConfigFile::has64bitsOS())
{
@ -50,12 +55,7 @@ CInstallDialog::CInstallDialog():QDialog()
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();

@ -50,6 +50,11 @@ CMigrateDialog::CMigrateDialog():QDialog()
onDestinationDefaultButtonClicked();
#ifdef Q_OS_MAC
// only 64 bits for OS X
clientArchGroupBox->setVisible(false);
clientArch64RadioButton->setChecked(true);
clientArch32RadioButton->setChecked(false);
#else
// check whether OS architecture is 32 or 64 bits
if (CConfigFile::has64bitsOS())
{
@ -65,11 +70,6 @@ CMigrateDialog::CMigrateDialog():QDialog()
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