Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/f5287497d20d5b06c140c1be834c6332c205d153?style=unified&whitespace=show-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
4 changed files with
6 additions and
2 deletions
src/board/UBLibraryController.cpp
src/board/UBLibraryController.h
src/core/UBApplication.cpp
src/gui/UBLibraryWidget.cpp
@ -167,6 +167,7 @@ void UBLibraryController::importImageOnLibrary(QImage& pImage)
filePath = UBFileSystemUtils : : normalizeFilePath ( filePath ) ;
pImage . save ( filePath ) ;
UBApplication : : showMessage ( tr ( " Added 1 Image to Library " ) ) ;
emit updateItemsList ( ) ;
}
}
@ -130,6 +130,7 @@ class UBLibraryController : public QObject
signals :
void dialogClosed ( int state ) ;
void setResource ( QString & pathResource , QString & mimetype ) ;
void updateItemsList ( ) ;
public slots :
void removeBackground ( ) ;
@ -601,14 +601,14 @@ void UBApplication::cleanup()
if ( boardController ) delete boardController ;
if ( webController ) delete webController ;
if ( documentController ) delete documentController ;
if ( mUniboardSankoreTransition ) delete mUniboardSankoreTransition ;
if ( mUniboardSankoreTransition ) delete mUniboardSankoreTransition ;
applicationController = NULL ;
boardController = NULL ;
webController = NULL ;
documentController = NULL ;
mUniboardSankoreTransition = NULL ;
mUniboardSankoreTransition = NULL ;
}
void UBStyle : : drawItemText ( QPainter * painter , const QRect & rect , int alignment , const QPalette & pal ,
@ -91,6 +91,8 @@ void UBLibraryWidget::init()
connect ( this , SIGNAL ( selectionChanged ( ) ) , this , SLOT ( onSelectionChanged ( ) ) ) ;
connect ( UBDownloadManager : : downloadManager ( ) , SIGNAL ( addDownloadedFileToLibrary ( bool , QUrl , QString , QByteArray ) ) , this , SLOT ( onAddDownloadedFileToLibrary ( bool , QUrl , QString , QByteArray ) ) ) ;
connect ( UBApplication : : boardController , SIGNAL ( displayMetadata ( QMap < QString , QString > ) ) , this , SLOT ( onDisplayMetadata ( QMap < QString , QString > ) ) ) ;
connect ( mLibraryController , SIGNAL ( updateItemsList ( ) ) , this , SLOT ( onRefreshCurrentFolder ( ) ) ) ;
}
/**