Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting https://git.osmesh.ru/MOS/OpenBoard/commit/03edf4f5755053189f9fb1d9d7de78530a2e455c?style=split&whitespace=ignore-eol
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
3 additions and
6 deletions
src/domain/UBGraphicsPolygonItem.cpp
@ -174,14 +174,10 @@ QColor UBGraphicsPolygonItem::color() const
UBItem * UBGraphicsPolygonItem : : deepCopy ( ) const
UBItem * UBGraphicsPolygonItem : : deepCopy ( ) const
{
{
UBGraphicsPolygonItem * copy = new UBGraphicsPolygonItem ( polygon ( ) , 0 ) ;
// UBGraphicsPolygonItem* copy = new UBGraphicsPolygonItem(polygon(), 0);
UBGraphicsPolygonItem * copy = new UBGraphicsPolygonItem ( ) ;
UBGraphicsStroke * stroke = new UBGraphicsStroke ( ) ;
copyItemParameters ( copy ) ;
copyItemParameters ( copy ) ;
copy - > setStroke ( stroke ) ;
return copy ;
return copy ;
}
}
@ -204,6 +200,7 @@ void UBGraphicsPolygonItem::copyItemParameters(UBItem *copy) const
cp - > setColorOnLightBackground ( this - > colorOnLightBackground ( ) ) ;
cp - > setColorOnLightBackground ( this - > colorOnLightBackground ( ) ) ;
cp - > setData ( UBGraphicsItemData : : ItemLayerType , this - > data ( UBGraphicsItemData : : ItemLayerType ) ) ;
cp - > setData ( UBGraphicsItemData : : ItemLayerType , this - > data ( UBGraphicsItemData : : ItemLayerType ) ) ;
cp - > setPolygon ( polygon ( ) ) ;
}
}
}
}