Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/d5af873782b614e253122810c57e45facb3506fe?style=split&whitespace=ignore-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
2 additions and
4 deletions
src/board/UBBoardView.cpp
@ -123,8 +123,6 @@ UBBoardView::init ()
setHorizontalScrollBarPolicy ( Qt : : ScrollBarAlwaysOff ) ;
setHorizontalScrollBarPolicy ( Qt : : ScrollBarAlwaysOff ) ;
setAcceptDrops ( true ) ;
setAcceptDrops ( true ) ;
setOptimizationFlag ( QGraphicsView : : IndirectPainting ) ; // enable UBBoardView::drawItems filter
mTabletStylusIsPressed = false ;
mTabletStylusIsPressed = false ;
mMouseButtonIsPressed = false ;
mMouseButtonIsPressed = false ;
mPendingStylusReleaseEvent = false ;
mPendingStylusReleaseEvent = false ;
@ -426,7 +424,7 @@ bool UBBoardView::itemShouldReceiveMousePressEvent(QGraphicsItem *item)
UBStylusTool : : Enum currentTool = ( UBStylusTool : : Enum ) UBDrawingController : : drawingController ( ) - > stylusTool ( ) ;
UBStylusTool : : Enum currentTool = ( UBStylusTool : : Enum ) UBDrawingController : : drawingController ( ) - > stylusTool ( ) ;
if ( ( currentTool = = UBStylusTool : : Play ) & & UBGraphicsGroupContainerItem : : Type = = movingItem - > type ( ) )
if ( ( currentTool = = UBStylusTool : : Play ) & & UBGraphicsGroupContainerItem : : Type = = movingItem - > type ( ) )
return movingItem = NULL ;
return movingItem = = NULL ;
switch ( item - > type ( ) )
switch ( item - > type ( ) )
{
{
@ -536,7 +534,7 @@ bool UBBoardView::itemShouldBeMoved(QGraphicsItem *item)
return ! item - > isSelected ( ) ;
return ! item - > isSelected ( ) ;
default :
default :
false ;
return false ;
}
}
return false ;
return false ;