Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/065c3d1277f30a91b86d903a7380f184a3057f80?style=split&whitespace=ignore-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
4 additions and
0 deletions
src/board/UBBoardView.cpp
src/domain/UBGraphicsVideoItem.cpp
@ -426,6 +426,7 @@ UBBoardView::mousePressEvent (QMouseEvent *event)
if ( ! movingItem
if ( ! movingItem
| | movingItem - > isSelected ( )
| | movingItem - > isSelected ( )
| | movingItem - > data ( UBGraphicsItemData : : ItemLocked ) . toBool ( )
| | movingItem - > type ( ) = = UBGraphicsDelegateFrame : : Type
| | movingItem - > type ( ) = = UBGraphicsDelegateFrame : : Type
| | movingItem - > type ( ) = = DelegateButton : : Type
| | movingItem - > type ( ) = = DelegateButton : : Type
| | movingItem - > type ( ) = = UBGraphicsCompass : : Type
| | movingItem - > type ( ) = = UBGraphicsCompass : : Type
@ -120,6 +120,9 @@ void UBGraphicsVideoItem::mousePressEvent(QGraphicsSceneMouseEvent *event)
void UBGraphicsVideoItem : : mouseMoveEvent ( QGraphicsSceneMouseEvent * event )
void UBGraphicsVideoItem : : mouseMoveEvent ( QGraphicsSceneMouseEvent * event )
{
{
if ( mDelegate - > delegated ( ) - > data ( UBGraphicsItemData : : ItemLocked ) . toBool ( ) )
return ;
if ( mShouldMove & & ( event - > buttons ( ) & Qt : : LeftButton ) )
if ( mShouldMove & & ( event - > buttons ( ) & Qt : : LeftButton ) )
{
{
QPointF offset = event - > scenePos ( ) - mMousePressPos ;
QPointF offset = event - > scenePos ( ) - mMousePressPos ;