Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/2d35e74bd78559133d39262020d54447de09557c?style=split&whitespace=ignore-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
15 additions and
15 deletions
src/board/UBLibraryController.cpp
@ -144,7 +144,7 @@ void UBLibraryController::importImageOnLibrary(QImage& pImage)
{
{
if ( ! pImage . isNull ( ) ) {
if ( ! pImage . isNull ( ) ) {
QDateTime now = QDateTime : : currentDateTime ( ) ;
QDateTime now = QDateTime : : currentDateTime ( ) ;
QString filePath = mPicturesStandardDirectoryPath . toLocalFile ( ) + " /ImportedImage- " + now . toString ( " dd-MM-yyyy hh-mm-ss " ) + " .png " ;
QString filePath = mPicturesStandardDirectoryPath . toLocalFile ( ) + " / " + tr ( " ImportedImage " ) + " - " + now . toString ( " dd-MM-yyyy hh-mm-ss " ) + " .png " ;
filePath = UBFileSystemUtils : : normalizeFilePath ( filePath ) ;
filePath = UBFileSystemUtils : : normalizeFilePath ( filePath ) ;
pImage . save ( filePath ) ;
pImage . save ( filePath ) ;
UBApplication : : showMessage ( tr ( " Added 1 Image to Library " ) ) ;
UBApplication : : showMessage ( tr ( " Added 1 Image to Library " ) ) ;