Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/7b595aec986aaccd20cae2ce22ff3ee64af35665?style=unified&whitespace=ignore-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
6 changed files with
5 additions and
9 deletions
src/core/UBDisplayManager.cpp
src/core/UBSettings.h
src/document/UBDocumentProxy.cpp
src/domain/UBGraphicsScene.cpp
src/gui/UBActionPalette.cpp
src/gui/UBMediaPlayer.cpp
@ -48,7 +48,7 @@ UBDisplayManager::UBDisplayManager(QObject *parent)
void UBDisplayManager : : initScreenIndexes ( )
{
int screenCount = 1 ; //= numScreens();
int screenCount = numScreens ( ) ;
mScreenIndexesRoles . clear ( ) ;
@ -273,8 +273,6 @@ class UBSettings : public QObject
QMap < DocumentSizeRatio : : Enum , QSize > documentSizes ;
QSize defaultDocumentSize ;
UBSetting * svgViewBoxMargin ;
UBSetting * pdfMargin ;
UBSetting * pdfPageFormat ;
@ -48,7 +48,7 @@ void UBDocumentProxy::init()
setUuid ( QUuid : : createUuid ( ) ) ;
setDefaultDocumentSize ( UBSettings : : settings ( ) - > defaultDocumentSize ) ;
setDefaultDocumentSize ( UBSettings : : settings ( ) - > pageSize - > get ( ) . toSize ( ) ) ;
setSessionTitle ( " " ) ;
setSessionTarget ( " " ) ;
@ -1770,7 +1770,6 @@ void UBGraphicsScene::addMask(const QPointF ¢er)
QRectF rect = UBApplication : : boardController - > activeScene ( ) - > normalizedSceneRect ( ) ;
rect . setRect ( center . x ( ) - rect . width ( ) / 4 , center . y ( ) - rect . height ( ) / 4 , rect . width ( ) / 2 , rect . height ( ) / 2 ) ;
QPointF origin = center . isNull ( ) ? rect . bottomRight ( ) : center ;
curtain - > setRect ( rect ) ;
UBGraphicsItem : : assignZValue ( curtain , toolLayerStart + toolOffsetCurtain ) ;
@ -57,12 +57,10 @@ void UBActionPalette::init(Qt::Orientation orientation)
mToolButtonStyle = Qt : : ToolButtonIconOnly ;
mButtons . clear ( ) ;
QBoxLayout * layout = 0 ;
if ( orientation = = Qt : : Horizontal )
layout = new QHBoxLayout ( this ) ;
new QHBoxLayout ( this ) ;
else
layout = new QVBoxLayout ( this ) ;
new QVBoxLayout ( this ) ;
updateLayout ( ) ;
}
@ -350,6 +350,7 @@ void UBMediaPlayer::hasVideoChanged(bool bHasVideo)
void UBMediaPlayer : : resizeEvent ( QResizeEvent * pEvent )
{
Q_UNUSED ( pEvent ) ;
// int origWidth = m_videoWindow.width();
// int origHeight = m_videoWindow.height();