Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/83874ddb086814c4cda1325ec8a65ece0768a2e3
You should set ROOT_URL correctly, otherwise the web may not work correctly.
5 changed files with
1 additions and
12 deletions
resources/etc/OpenBoard.config
src/core/UBApplication.cpp
src/core/UBPreferencesController.cpp
src/core/UBSettings.cpp
src/core/UBSettings.h
@ -1,7 +1,6 @@
[App]
AngleTolerance=4
EnableAutomaticSoftwareUpdates=false
EnableSoftwareUpdates=true
EnableStartupHints=true
FavoriteToolURIs=openboardtool://openboard/mask, openboardtool://ruler, openboardtool://compass, openboardtool://protractor, openboardtool://triangle, openboardtool://magnifier, openboardtool://cache
IsInSoftwareUpdateProcess=false
@ -511,13 +511,7 @@ void UBApplication::decorateActionMenu(QAction* action)
menu - > addSeparator ( ) ;
menu - > addAction ( mainWindow - > actionPreferences ) ;
menu - > addAction ( mainWindow - > actionMultiScreen ) ;
// SANKORE-48: Hide the check update action if the setting
// EnableAutomaticSoftwareUpdates is false in Uniboard.config
if ( UBSettings : : settings ( ) - > appEnableAutomaticSoftwareUpdates - > get ( ) . toBool ( ) )
menu - > addAction ( mainWindow - > actionCheckUpdate ) ;
else
mainWindow - > actionCheckUpdate - > setEnabled ( false ) ;
menu - > addAction ( mainWindow - > actionCheckUpdate ) ;
menu - > addSeparator ( ) ;
# ifndef Q_OS_LINUX // No Podcast on Linux yet
@ -186,8 +186,6 @@ void UBPreferencesController::wire()
// about tab
connect ( mPreferencesUI - > checkSoftwareUpdateAtLaunchCheckBox , SIGNAL ( clicked ( bool ) ) , settings - > appEnableAutomaticSoftwareUpdates , SLOT ( setBool ( bool ) ) ) ;
// As we (hopefully temporarily) don't have a website to check updates at, this setting is hidden for now
mPreferencesUI - > softwareUpdateGroupBox - > setVisible ( false ) ;
connect ( mPreferencesUI - > checkOpenSankoreAtStartup , SIGNAL ( clicked ( bool ) ) , settings - > appLookForOpenSankoreInstall , SLOT ( setBool ( bool ) ) ) ;
}
@ -225,7 +225,6 @@ void UBSettings::init()
appToolBarPositionedAtTop = new UBSetting ( this , " App " , " ToolBarPositionedAtTop " , true ) ;
appToolBarDisplayText = new UBSetting ( this , " App " , " ToolBarDisplayText " , true ) ;
appEnableAutomaticSoftwareUpdates = new UBSetting ( this , " App " , " EnableAutomaticSoftwareUpdates " , false ) ;
appEnableSoftwareUpdates = new UBSetting ( this , " App " , " EnableSoftwareUpdates " , true ) ;
appSoftwareUpdateURL = new UBSetting ( this , " App " , " SoftwareUpdateURL " , " http://www.openboard.ch/update.json " ) ;
appToolBarOrientationVertical = new UBSetting ( this , " App " , " ToolBarOrientationVertical " , false ) ;
appPreferredLanguage = new UBSetting ( this , " App " , " PreferredLanguage " , " " ) ;
@ -239,7 +239,6 @@ class UBSettings : public QObject
UBSetting * appToolBarPositionedAtTop ;
UBSetting * appToolBarDisplayText ;
UBSetting * appEnableAutomaticSoftwareUpdates ;
UBSetting * appEnableSoftwareUpdates ;
UBSetting * appSoftwareUpdateURL ;
UBSetting * appToolBarOrientationVertical ;
UBSetting * appPreferredLanguage ;