Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/ee5880040d37eec0dbb9d30f6514d4bdbfb07954
You should set ROOT_URL correctly, otherwise the web may not work correctly.
4 changed files with
8 additions and
5 deletions
src/document/UBDocumentController.cpp
src/domain/UBGraphicsDelegateFrame.cpp
src/domain/UBGraphicsScene.cpp
src/domain/UBGraphicsStrokesGroup.cpp
@ -345,6 +345,7 @@ UBDocumentTreeNode *UBDocumentTreeNode::previousSibling()
UBDocumentTreeModel : : UBDocumentTreeModel ( QObject * parent ) :
QAbstractItemModel ( parent )
, mRootNode ( 0 )
, mCurrentNode ( nullptr )
{
UBDocumentTreeNode * rootNode = new UBDocumentTreeNode ( UBDocumentTreeNode : : Catalog , " root " ) ;
@ -67,6 +67,7 @@ UBGraphicsDelegateFrame::UBGraphicsDelegateFrame(UBGraphicsItemDelegate* pDelega
, mFlippedY ( false )
, mMirrorX ( false )
, mMirrorY ( false )
, mResizing ( false )
, mTitleBarHeight ( hasTitleBar ? 20 : 0 )
, mNominalTitleBarHeight ( hasTitleBar ? 20 : 0 )
{
@ -336,8 +336,9 @@ UBGraphicsScene::UBGraphicsScene(UBDocumentProxy* parent, bool enableUndoRedoSta
, magniferDisplayViewWidget ( 0 )
, mZLayerController ( new UBZLayerController ( this ) )
, mpLastPolygon ( NULL )
, mCurrentPolygon ( 0 )
, mTempPolygon ( NULL )
, mDrawWithCompass ( false )
, mCurrentPolygon ( 0 )
, mSelectionFrame ( 0 )
{
UBCoreGraphicsScene : : setObjectName ( " BoardScene " ) ;
@ -35,7 +35,10 @@
# include "core/memcheck.h"
UBGraphicsStrokesGroup : : UBGraphicsStrokesGroup ( QGraphicsItem * parent )
: QGraphicsItemGroup ( parent ) , UBGraphicsItem ( )
: QGraphicsItemGroup ( parent )
, UBGraphicsItem ( )
, debugTextEnabled ( false ) // set to true to get a graphical display of strokes' Z-levels
, mDebugText ( nullptr )
{
setDelegate ( new UBGraphicsItemDelegate ( this , 0 , GF_COMMON
| GF_RESPECT_RATIO
@ -49,9 +52,6 @@ UBGraphicsStrokesGroup::UBGraphicsStrokesGroup(QGraphicsItem *parent)
setFlag ( QGraphicsItem : : ItemSendsGeometryChanges , true ) ;
setFlag ( QGraphicsItem : : ItemIsSelectable , true ) ;
setFlag ( QGraphicsItem : : ItemIsMovable , true ) ;
mDebugText = NULL ;
debugTextEnabled = false ; // set to true to get a graphical display of strokes' Z-levels
}
UBGraphicsStrokesGroup : : ~ UBGraphicsStrokesGroup ( )