Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/82453e51369e966f8d9a9aa8495c98d83cdf73fa
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
12 additions and
1 deletions
src/domain/UBGraphicsItemDelegate.cpp
src/domain/UBGraphicsProxyWidget.cpp
@ -120,14 +120,17 @@ void DelegateButton::mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
void DelegateButton : : paint ( QPainter * painter , const QStyleOptionGraphicsItem * option , QWidget * widget )
{
painter - > save ( ) ;
painter - > setCompositionMode ( QPainter : : CompositionMode_SourceOver ) ;
QGraphicsSvgItem : : paint ( painter , option , widget ) ;
painter - > restore ( ) ;
if ( mIsPressed & & mShowProgressIndicator ) {
QPen pen ;
pen . setBrush ( Qt : : white ) ;
pen . setWidth ( 3 ) ;
painter - > save ( ) ;
painter - > setCompositionMode ( QPainter : : CompositionMode_SourceOver ) ;
painter - > setPen ( pen ) ;
int spanAngle = qMin ( mPressProgres , UBSettings : : longClickInterval ) * 360 / UBSettings : : longClickInterval ;
@ -848,6 +851,11 @@ void UBGraphicsToolBarItem::paint(QPainter *painter, const QStyleOptionGraphicsI
setBrush ( QBrush ( UBSettings : : paletteColor ) ) ;
// QPainter newPainter;
// newPaiter->setBrush(QBrush(Qt::red));
painter - > fillPath ( path , brush ( ) ) ;
}
@ -49,8 +49,11 @@ UBGraphicsProxyWidget::~UBGraphicsProxyWidget()
void UBGraphicsProxyWidget : : paint ( QPainter * painter , const QStyleOptionGraphicsItem * option , QWidget * widget )
{
painter - > save ( ) ;
painter - > setCompositionMode ( QPainter : : CompositionMode_SourceOver ) ;
QGraphicsProxyWidget : : paint ( painter , option , widget ) ;
Delegate ( ) - > postpaint ( painter , option , widget ) ;
painter - > restore ( ) ;
}
QVariant UBGraphicsProxyWidget : : itemChange ( GraphicsItemChange change , const QVariant & value )