Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/bd3d8e951b4fe1adb70c00cf724076d77113f0b9?style=split&whitespace=ignore-eol
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
4 additions and
5 deletions
src/document/UBDocumentController.h
src/gui/UBDocumentTreeWidget.cpp
@ -55,6 +55,8 @@ class UBDocumentController : public UBDocumentContainer
{
{
Q_OBJECT
Q_OBJECT
friend class UBDocumentTreeWidget ;
public :
public :
UBDocumentController ( UBMainWindow * mainWindow ) ;
UBDocumentController ( UBMainWindow * mainWindow ) ;
virtual ~ UBDocumentController ( ) ;
virtual ~ UBDocumentController ( ) ;
@ -163,5 +165,4 @@ class UBDocumentController : public UBDocumentContainer
} ;
} ;
# endif /* UBDOCUMENTCONTROLLER_H_ */
# endif /* UBDOCUMENTCONTROLLER_H_ */
@ -375,10 +375,8 @@ bool UBDocumentTreeWidget::moveDocument(UBDocumentProxyTreeItem* document, UBDoc
QString destinationFolderName ;
QString destinationFolderName ;
if ( destinationFolder - > isTrashFolder ( ) ) {
if ( destinationFolder - > isTrashFolder ( ) )
QString sourceFolderName = document - > proxy ( ) - > metaData ( UBSettings : : documentGroupName ) . toString ( ) ;
UBApplication : : app ( ) - > documentController - > moveDocumentToTrash ( sourceFolder , document , true ) ;
destinationFolderName = UBSettings : : trashedDocumentGroupNamePrefix + sourceFolderName ;
}
else {
else {
if ( destinationFolder - > groupName ( ) = = UBApplication : : app ( ) - > documentController - > defaultDocumentGroupName ( ) )
if ( destinationFolder - > groupName ( ) = = UBApplication : : app ( ) - > documentController - > defaultDocumentGroupName ( ) )