Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting https://git.osmesh.ru/MOS/OpenBoard/commit/ee5f74b71e7aee7004ac29f48cb98406e93165db
You should set ROOT_URL correctly, otherwise the web may not work correctly.
5 changed files with
5 additions and
6 deletions
src/domain/UBGraphicsItemDelegate.cpp
src/domain/UBGraphicsItemDelegate.h
src/domain/UBGraphicsProxyWidget.cpp
src/domain/UBGraphicsScene.cpp
src/domain/UBGraphicsWidgetItem.cpp
@ -359,7 +359,7 @@ bool UBGraphicsItemDelegate::mouseMoveEvent(QGraphicsSceneMouseEvent *event)
return false ;
}
bool UBGraphicsItemDelegate : : weelEvent ( QGraphicsSceneWheelEvent * event )
bool UBGraphicsItemDelegate : : wh eelEvent ( QGraphicsSceneWheelEvent * event )
{
Q_UNUSED ( event ) ;
if ( delegated ( ) - > isSelected ( ) )
@ -247,7 +247,7 @@ class UBGraphicsItemDelegate : public QObject
virtual bool mousePressEvent ( QGraphicsSceneMouseEvent * event ) ;
virtual bool mouseMoveEvent ( QGraphicsSceneMouseEvent * event ) ;
virtual bool mouseReleaseEvent ( QGraphicsSceneMouseEvent * event ) ;
virtual bool weelEvent ( QGraphicsSceneWheelEvent * event ) ;
virtual bool wh eelEvent ( QGraphicsSceneWheelEvent * event ) ;
virtual void hoverEnterEvent ( QGraphicsSceneHoverEvent * event ) ;
virtual void hoverLeaveEvent ( QGraphicsSceneHoverEvent * event ) ;
@ -125,7 +125,7 @@ void UBGraphicsProxyWidget::mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
void UBGraphicsProxyWidget : : wheelEvent ( QGraphicsSceneWheelEvent * event )
{
if ( Delegate ( ) - > weelEvent ( event ) )
if ( Delegate ( ) - > wh eelEvent ( event ) )
{
QGraphicsProxyWidget : : wheelEvent ( event ) ;
event - > accept ( ) ;
@ -149,7 +149,6 @@ qreal UBZLayerController::changeZLevelTo(QGraphicsItem *item, moveDestination de
if ( mScene - > items ( ) . count ( ) ) {
foreach ( QGraphicsItem * tmpItem , mScene - > items ( ) ) {
if ( typeForData ( tmpItem ) = = curItemLayerType ) {
sortedItems . insert ( tmpItem - > data ( UBGraphicsItemData : : ItemOwnZValue ) . toReal ( ) , tmpItem ) ;
}
}
@ -335,7 +334,7 @@ UBGraphicsScene::UBGraphicsScene(UBDocumentProxy* parent, bool enableUndoRedoSta
}
// Just for debug. Do not delete please
connect ( this , SIGNAL ( selectionChanged ( ) ) , this , SLOT ( selectionChangedProcessing ( ) ) ) ;
// connect(this, SIGNAL(selectionChanged()), this, SLOT(selectionChangedProcessing()));
connect ( this , SIGNAL ( selectionChanged ( ) ) , this , SLOT ( updateGroupButtonState ( ) ) ) ;
connect ( UBApplication : : undoStack . data ( ) , SIGNAL ( indexChanged ( int ) ) , this , SLOT ( updateSelectionFrameWrapper ( int ) ) ) ;
}
@ -617,7 +617,7 @@ void UBGraphicsWidgetItem::mainFrameLoadFinished (bool ok)
void UBGraphicsWidgetItem : : wheelEvent ( QGraphicsSceneWheelEvent * event )
{
if ( Delegate ( ) - > weelEvent ( event ) )
if ( Delegate ( ) - > wh eelEvent ( event ) )
{
QGraphicsWebView : : wheelEvent ( event ) ;
event - > accept ( ) ;