fixed: Bug #3281 - server start on OS X defaults to 'interactive'
This commit is contained in:
parent
c34918fca1
commit
d21b06477f
|
@ -224,8 +224,8 @@ void MainWindow::loadSettings()
|
||||||
{
|
{
|
||||||
// the next two must come BEFORE loading groupServerChecked and groupClientChecked or
|
// the next two must come BEFORE loading groupServerChecked and groupClientChecked or
|
||||||
// disabling and/or enabling the right widgets won't automatically work
|
// disabling and/or enabling the right widgets won't automatically work
|
||||||
m_pRadioExternalConfig->setChecked(settings().value("externalConfig", false).toBool());
|
m_pRadioExternalConfig->setChecked(settings().value("useExternalConfig", false).toBool());
|
||||||
m_pRadioInternalConfig->setChecked(settings().value("internalConfig", true).toBool());
|
m_pRadioInternalConfig->setChecked(settings().value("useInternalConfig", true).toBool());
|
||||||
|
|
||||||
m_pGroupServer->setChecked(settings().value("groupServerChecked", false).toBool());
|
m_pGroupServer->setChecked(settings().value("groupServerChecked", false).toBool());
|
||||||
m_pLineEditConfigFile->setText(settings().value("configFile", QDir::homePath() + "/" + synergyConfigName).toString());
|
m_pLineEditConfigFile->setText(settings().value("configFile", QDir::homePath() + "/" + synergyConfigName).toString());
|
||||||
|
@ -251,9 +251,9 @@ void MainWindow::saveSettings()
|
||||||
{
|
{
|
||||||
// program settings
|
// program settings
|
||||||
settings().setValue("groupServerChecked", m_pGroupServer->isChecked());
|
settings().setValue("groupServerChecked", m_pGroupServer->isChecked());
|
||||||
settings().setValue("externalConfig", m_pRadioExternalConfig->isChecked());
|
settings().setValue("useExternalConfig", m_pRadioExternalConfig->isChecked());
|
||||||
settings().setValue("configFile", m_pLineEditConfigFile->text());
|
settings().setValue("configFile", m_pLineEditConfigFile->text());
|
||||||
settings().setValue("internalConfig", m_pRadioInternalConfig->isChecked());
|
settings().setValue("useInternalConfig", m_pRadioInternalConfig->isChecked());
|
||||||
settings().setValue("groupClientChecked", m_pGroupClient->isChecked());
|
settings().setValue("groupClientChecked", m_pGroupClient->isChecked());
|
||||||
settings().setValue("serverHostname", m_pLineEditHostname->text());
|
settings().setValue("serverHostname", m_pLineEditHostname->text());
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue