fixed issue sankore 413

preferencesAboutTextFull
Claudio Valerio 13 years ago
parent 80fc3ec5e5
commit a4fc469c88
  1. 2247
      resources/forms/preferences.ui
  2. 19
      src/core/UBPreferencesController.cpp

File diff suppressed because it is too large Load Diff

@ -286,15 +286,7 @@ void UBPreferencesController::defaultSettings()
if (mPreferencesUI->mainTabWidget->currentWidget() == mPreferencesUI->displayTab) if (mPreferencesUI->mainTabWidget->currentWidget() == mPreferencesUI->displayTab)
{ {
bool defaultValue = settings->webUseExternalBrowser->reset().toBool(); bool defaultValue = settings->appToolBarPositionedAtTop->reset().toBool();
mPreferencesUI->useExternalBrowserCheckBox->setChecked(defaultValue);
defaultValue = settings->webShowPageImmediatelyOnMirroredScreen->reset().toBool();
mPreferencesUI->displayBrowserPageCheckBox->setChecked(defaultValue);
mPreferencesUI->webHomePage->setText(settings->webHomePage->reset().toString());
defaultValue = settings->appToolBarPositionedAtTop->reset().toBool();
mPreferencesUI->toolbarAtTopRadioButton->setChecked(defaultValue); mPreferencesUI->toolbarAtTopRadioButton->setChecked(defaultValue);
mPreferencesUI->toolbarAtBottomRadioButton->setChecked(!defaultValue); mPreferencesUI->toolbarAtBottomRadioButton->setChecked(!defaultValue);
@ -350,6 +342,15 @@ void UBPreferencesController::defaultSettings()
bool defaultValue = settings->appEnableAutomaticSoftwareUpdates->reset().toBool(); bool defaultValue = settings->appEnableAutomaticSoftwareUpdates->reset().toBool();
mPreferencesUI->checkSoftwareUpdateAtLaunchCheckBox->setChecked(defaultValue); mPreferencesUI->checkSoftwareUpdateAtLaunchCheckBox->setChecked(defaultValue);
} }
else if(mPreferencesUI->mainTabWidget->currentWidget() == mPreferencesUI->networkTab){
bool defaultValue = settings->webUseExternalBrowser->reset().toBool();
mPreferencesUI->useExternalBrowserCheckBox->setChecked(defaultValue);
defaultValue = settings->webShowPageImmediatelyOnMirroredScreen->reset().toBool();
mPreferencesUI->displayBrowserPageCheckBox->setChecked(defaultValue);
mPreferencesUI->webHomePage->setText(settings->webHomePage->reset().toString());
}
} }

Loading…
Cancel
Save