Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/ab51a2eb24e75ae79bf3e3213ca0d8a80a6e97bb?style=unified&whitespace=ignore-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
5 additions and
4 deletions
src/document/UBDocumentController.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 " ) ;
@ -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 ( )