Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/9db221f60f1624418e350eeb3e44e8780e2af49a?style=unified&whitespace=ignore-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
4 changed files with
8 additions and
0 deletions
src/core/UBApplication.cpp
src/core/UBApplicationController.cpp
src/core/UBSettings.cpp
src/core/UBSettings.h
@ -281,6 +281,9 @@ int UBApplication::exec(const QString& pFileToImport)
toolBarPositionChanged ( UBSettings : : settings ( ) - > appToolBarPositionedAtTop - > get ( ) ) ;
bool bUseMultiScreen = UBSettings : : settings ( ) - > appUseMultiscreen - > get ( ) . toBool ( ) ;
mainWindow - > actionMultiScreen - > setChecked ( bUseMultiScreen ) ;
applicationController - > useMultiScreen ( bUseMultiScreen ) ;
connect ( mainWindow - > actionMultiScreen , SIGNAL ( triggered ( bool ) ) , applicationController , SLOT ( useMultiScreen ( bool ) ) ) ;
connect ( mainWindow - > actionWidePageSize , SIGNAL ( triggered ( bool ) ) , boardController , SLOT ( setWidePageSize ( bool ) ) ) ;
connect ( mainWindow - > actionRegularPageSize , SIGNAL ( triggered ( bool ) ) , boardController , SLOT ( setRegularPageSize ( bool ) ) ) ;
@ -723,6 +723,8 @@ void UBApplicationController::importFile(const QString& pFilePath)
void UBApplicationController : : useMultiScreen ( bool use )
{
mDisplayManager - > setUseMultiScreen ( use ) ;
UBSettings : : settings ( ) - > appUseMultiscreen - > set ( use ) ;
}
@ -210,6 +210,7 @@ void UBSettings::init()
appIsInSoftwareUpdateProcess = new UBSetting ( this , " App " , " IsInSoftwareUpdateProcess " , false ) ;
appLastSessionDocumentUUID = new UBSetting ( this , " App " , " LastSessionDocumentUUID " , " " ) ;
appLastSessionPageIndex = new UBSetting ( this , " App " , " LastSessionPageIndex " , 0 ) ;
appUseMultiscreen = new UBSetting ( this , " App " , " UseMusliscreenMode " , true ) ;
boardPenFineWidth = new UBSetting ( this , " Board " , " PenFineWidth " , 1.5 ) ;
boardPenMediumWidth = new UBSetting ( this , " Board " , " PenMediumWidth " , 3.0 ) ;
@ -212,6 +212,8 @@ class UBSettings : public QObject
UBSetting * appLastSessionDocumentUUID ;
UBSetting * appLastSessionPageIndex ;
UBSetting * appUseMultiscreen ;
UBSetting * boardPenFineWidth ;
UBSetting * boardPenMediumWidth ;
UBSetting * boardPenStrongWidth ;