Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/cdf2eab0b2d7b46a3e343d3a5ed5c4923d498b97?style=split&whitespace=ignore-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
6 additions and
1 deletions
src/board/UBBoardController.cpp
@ -544,7 +544,8 @@ void UBBoardController::duplicateItem(UBItem *item)
QGraphicsItem * commonItem = dynamic_cast < QGraphicsItem * > ( item ) ;
QGraphicsItem * commonItem = dynamic_cast < QGraphicsItem * > ( item ) ;
if ( commonItem )
if ( commonItem )
{
{
itemPos = commonItem - > pos ( ) ;
qreal shifting = UBSettings : : settings ( ) - > objectFrameWidth ;
itemPos = commonItem - > pos ( ) + QPointF ( shifting , shifting ) ;
itemSize = commonItem - > boundingRect ( ) . size ( ) ;
itemSize = commonItem - > boundingRect ( ) . size ( ) ;
}
}
@ -612,6 +613,10 @@ void UBBoardController::duplicateItem(UBItem *item)
{
{
createdItem - > setSourceUrl ( item - > sourceUrl ( ) ) ;
createdItem - > setSourceUrl ( item - > sourceUrl ( ) ) ;
item - > copyItemParameters ( createdItem ) ;
item - > copyItemParameters ( createdItem ) ;
QGraphicsItem * createdGitem = dynamic_cast < QGraphicsItem * > ( createdItem ) ;
if ( createdGitem )
createdGitem - > setPos ( itemPos ) ;
}
}
}
}