Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/a4fc469c883dc79836a79dbe9eba55b4f54a6f56?style=unified&whitespace=show-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
1129 additions and
1137 deletions
resources/forms/preferences.ui
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 )
{
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 ( ) ) ;
defaultValue = settings - > appToolBarPositionedAtTop - > reset ( ) . toBool ( ) ;
bool defaultValue = settings - > appToolBarPositionedAtTop - > reset ( ) . toBool ( ) ;
mPreferencesUI - > toolbarAtTopRadioButton - > setChecked ( defaultValue ) ;
mPreferencesUI - > toolbarAtBottomRadioButton - > setChecked ( ! defaultValue ) ;
@ -350,6 +342,15 @@ void UBPreferencesController::defaultSettings()
bool defaultValue = settings - > appEnableAutomaticSoftwareUpdates - > reset ( ) . toBool ( ) ;
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 ( ) ) ;
}
}