Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting https://git.osmesh.ru/MOS/OpenBoard/commit/a7e95315a1f29ed95dc9e2fe9997424801ea824f
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
4 additions and
1 deletions
src/adaptors/UBImportPDF.cpp
src/core/UBDocumentManager.cpp
@ -70,7 +70,6 @@ QList<UBGraphicsItem*> UBImportPDF::import(const QUuid& uuid, const QString& fil
for ( int pdfPageNumber = 1 ; pdfPageNumber < = pdfPageCount ; pdfPageNumber + + )
{
UBApplication : : showMessage ( tr ( " Importing page %1 of %2 " ) . arg ( pdfPageNumber ) . arg ( pdfPageCount ) , true ) ;
result < < new UBGraphicsPDFItem ( pdfRenderer , pdfPageNumber ) ; // deleted by the scene
}
return result ;
@ -170,6 +170,10 @@ UBDocumentProxy* UBDocumentManager::importFile(const QFile& pFile, const QString
foreach ( UBGraphicsItem * page , pages )
{
UBApplication : : showMessage ( tr ( " Inserting page %1 of %2 " ) . arg ( + + nPage ) . arg ( pages . size ( ) ) , true ) ;
# ifdef Q_WS_MACX
//Workaround for issue 912
QApplication : : processEvents ( ) ;
# endif
int pageIndex = document - > pageCount ( ) ;
UBGraphicsScene * scene = UBPersistenceManager : : persistenceManager ( ) - > createDocumentSceneAt ( document , pageIndex ) ;
importAdaptor - > placeImportedItemToScene ( scene , page ) ;