Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting https://git.osmesh.ru/MOS/OpenBoard/commit/ec5bc498750c62231eaf1473993b35ea73632f94?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
3 deletions
src/tools/UBGraphicsProtractor.cpp
@ -99,7 +99,7 @@ void UBGraphicsProtractor::paint(QPainter *painter, const QStyleOptionGraphicsIt
pen_ . setWidth ( 0 ) ; // Line width = 1 pixel regardless of scale / zoom
pen_ . setWidth ( 0 ) ; // Line width = 1 pixel regardless of scale / zoom
painter - > setPen ( pen_ ) ;
painter - > setPen ( pen_ ) ;
painter - > setFont ( QFont ( " Arial " ) ) ;
painter - > setFont ( QFont ( " Arial " , 11 ) ) ;
painter - > setBrush ( fillBrush ( ) ) ;
painter - > setBrush ( fillBrush ( ) ) ;
painter - > drawPie ( QRectF ( rect ( ) . center ( ) . x ( ) - radius ( ) , rect ( ) . center ( ) . y ( ) - radius ( ) , 2 * radius ( ) , 2 * radius ( ) ) , mStartAngle * 16 , mSpan * 16 ) ;
painter - > drawPie ( QRectF ( rect ( ) . center ( ) . x ( ) - radius ( ) , rect ( ) . center ( ) . y ( ) - radius ( ) , 2 * radius ( ) , 2 * radius ( ) ) , mStartAngle * 16 , mSpan * 16 ) ;
paintGraduations ( painter ) ;
paintGraduations ( painter ) ;
@ -402,8 +402,7 @@ void UBGraphicsProtractor::paintGraduations(QPainter *painter)
QFont font1 = painter - > font ( ) ;
QFont font1 = painter - > font ( ) ;
# ifdef Q_OS_OSX
# ifdef Q_OS_OSX
// TODO: remove this (?)
font1 . setPointSizeF ( font1 . pointSizeF ( ) + 3 ) ;
font1 . setPointSizeF ( font1 . pointSizeF ( ) ) ;
font1 . setWeight ( QFont : : Thin ) ;
font1 . setWeight ( QFont : : Thin ) ;
# endif
# endif
QFontMetricsF fm1 ( font1 ) ;
QFontMetricsF fm1 ( font1 ) ;