Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/90fd7191df3a5c881ee30edd2bc6a45cda557ea3?style=split&whitespace=show-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
11 additions and
1 deletions
src/desktop/UBDesktopAnnotationController.cpp
@ -84,8 +84,18 @@ UBDesktopAnnotationController::UBDesktopAnnotationController(QObject *parent, UB
mTransparentDrawingView - > setAttribute ( Qt : : WA_TranslucentBackground , true ) ;
mTransparentDrawingView - > setAttribute ( Qt : : WA_TranslucentBackground , true ) ;
# ifdef Q_OS_OSX
# ifdef Q_OS_OSX
mTransparentDrawingView - > setAttribute ( Qt : : WA_MacNoShadow , true ) ;
mTransparentDrawingView - > setAttribute ( Qt : : WA_MacNoShadow , true ) ;
# endif
/* https://bugreports.qt.io/browse/QTBUG-81456 */
if ( QOperatingSystemVersion : : current ( ) . minorVersion ( ) > 12 ) /* > Sierra */
{
mTransparentDrawingView - > setWindowFlags ( Qt : : FramelessWindowHint | Qt : : WindowStaysOnBottomHint | Qt : : Window | Qt : : NoDropShadowWindowHint | Qt : : X11BypassWindowManagerHint ) ;
}
else
{
mTransparentDrawingView - > setWindowFlags ( Qt : : FramelessWindowHint | Qt : : WindowStaysOnTopHint | Qt : : Window | Qt : : NoDropShadowWindowHint | Qt : : X11BypassWindowManagerHint ) ;
}
# else
mTransparentDrawingView - > setWindowFlags ( Qt : : FramelessWindowHint | Qt : : WindowStaysOnTopHint | Qt : : Window | Qt : : NoDropShadowWindowHint | Qt : : X11BypassWindowManagerHint ) ;
mTransparentDrawingView - > setWindowFlags ( Qt : : FramelessWindowHint | Qt : : WindowStaysOnTopHint | Qt : : Window | Qt : : NoDropShadowWindowHint | Qt : : X11BypassWindowManagerHint ) ;
# endif
mTransparentDrawingView - > setCacheMode ( QGraphicsView : : CacheNone ) ;
mTransparentDrawingView - > setCacheMode ( QGraphicsView : : CacheNone ) ;
mTransparentDrawingView - > resize ( UBApplication : : desktop ( ) - > width ( ) , UBApplication : : desktop ( ) - > height ( ) ) ;
mTransparentDrawingView - > resize ( UBApplication : : desktop ( ) - > width ( ) , UBApplication : : desktop ( ) - > height ( ) ) ;