Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting https://git.osmesh.ru/MOS/OpenBoard/commit/9e42b0698ed1f084a99a3e60be136fe82f974e26
You should set ROOT_URL correctly, otherwise the web may not work correctly.
4 changed files with
5 additions and
1 deletions
resources/etc/OpenBoard.config
src/core/UBApplication.cpp
src/core/UBSettings.cpp
src/core/UBSettings.h
@ -1,5 +1,6 @@
[App]
AngleTolerance=4
HideCheckForSoftwareUpdate=false
EnableAutomaticSoftwareUpdates=true
EnableSoftwareUpdates=true
EnableStartupHints=true
@ -514,7 +514,8 @@ void UBApplication::decorateActionMenu(QAction* action)
menu - > addSeparator ( ) ;
menu - > addAction ( mainWindow - > actionPreferences ) ;
menu - > addAction ( mainWindow - > actionMultiScreen ) ;
menu - > addAction ( mainWindow - > actionCheckUpdate ) ;
if ( ! UBSettings : : settings ( ) - > appHideCheckForSoftwareUpdate - > get ( ) . toBool ( ) )
menu - > addAction ( mainWindow - > actionCheckUpdate ) ;
menu - > addSeparator ( ) ;
menu - > addAction ( mainWindow - > actionPodcast ) ;
@ -234,6 +234,7 @@ void UBSettings::init()
appToolBarDisplayText = new UBSetting ( this , " App " , " ToolBarDisplayText " , true ) ;
appEnableAutomaticSoftwareUpdates = new UBSetting ( this , " App " , " EnableAutomaticSoftwareUpdates " , false ) ;
appSoftwareUpdateURL = new UBSetting ( this , " App " , " SoftwareUpdateURL " , " http://www.openboard.ch/update.json " ) ;
appHideCheckForSoftwareUpdate = new UBSetting ( this , " App " , " HideCheckForSoftwareUpdate " , false ) ;
appToolBarOrientationVertical = new UBSetting ( this , " App " , " ToolBarOrientationVertical " , false ) ;
appPreferredLanguage = new UBSetting ( this , " App " , " PreferredLanguage " , " " ) ;
@ -250,6 +250,7 @@ class UBSettings : public QObject
UBSetting * appToolBarDisplayText ;
UBSetting * appEnableAutomaticSoftwareUpdates ;
UBSetting * appSoftwareUpdateURL ;
UBSetting * appHideCheckForSoftwareUpdate ;
UBSetting * appToolBarOrientationVertical ;
UBSetting * appPreferredLanguage ;