Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/fcb9845cb1e5120f3c1237acb13a1424c2887273?style=split&whitespace=ignore-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
11 additions and
0 deletions
src/domain/UBGraphicsGroupContainerItem.cpp
src/domain/UBGraphicsGroupContainerItem.h
@ -32,6 +32,16 @@ UBGraphicsGroupContainerItem::UBGraphicsGroupContainerItem(QGraphicsItem *parent
}
}
UBGraphicsGroupContainerItem : : ~ UBGraphicsGroupContainerItem ( )
{
foreach ( QGraphicsItem * item , childItems ( ) )
{
removeFromGroup ( item ) ;
if ( item & & item - > scene ( ) )
item - > scene ( ) - > removeItem ( item ) ;
}
}
void UBGraphicsGroupContainerItem : : addToGroup ( QGraphicsItem * item )
void UBGraphicsGroupContainerItem : : addToGroup ( QGraphicsItem * item )
{
{
if ( ! item ) {
if ( ! item ) {
@ -10,6 +10,7 @@ class UBGraphicsGroupContainerItem : public QGraphicsItem, public UBItem, public
public :
public :
UBGraphicsGroupContainerItem ( QGraphicsItem * parent = 0 ) ;
UBGraphicsGroupContainerItem ( QGraphicsItem * parent = 0 ) ;
virtual ~ UBGraphicsGroupContainerItem ( ) ;
void addToGroup ( QGraphicsItem * item ) ;
void addToGroup ( QGraphicsItem * item ) ;
void removeFromGroup ( QGraphicsItem * item ) ;
void removeFromGroup ( QGraphicsItem * item ) ;