Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/87892b6e6148f4ff745efca8776b6ee3ee745e04
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
1 additions and
4 deletions
src/domain/UBGraphicsTextItem.cpp
src/domain/UBGraphicsTextItemDelegate.cpp
@ -246,9 +246,6 @@ void UBGraphicsTextItem::keyReleaseEvent(QKeyEvent *event)
void UBGraphicsTextItem : : paint ( QPainter * painter , const QStyleOptionGraphicsItem * option , QWidget * widget )
{
QColor color = UBSettings : : settings ( ) - > isDarkBackground ( ) ? mColorOnDarkBackground : mColorOnLightBackground ;
setDefaultTextColor ( color ) ;
// Never draw the rubber band, we draw our custom selection with the DelegateFrame
QStyleOptionGraphicsItem styleOption = QStyleOptionGraphicsItem ( * option ) ;
styleOption . state & = ~ QStyle : : State_Selected ;
@ -743,7 +743,7 @@ void UBGraphicsTextItemDelegate::recolor()
//setting new parameters
if ( UBSettings : : settings ( ) - > isDarkBackground ( ) )
if ( delegated ( ) - > scene ( ) - > isDarkBackground ( ) )
{
if ( curBrush . color ( ) = = Qt : : black )
{