Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/0cf3bdde1aab882c59b12589a9df056146422cec?style=split&whitespace=ignore-eol
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
1 additions and
3 deletions
src/pdf/XPDFRenderer.cpp
src/pdf/XPDFRenderer.h
@ -301,7 +301,7 @@ QImage& XPDFRenderer::createPDFImageCached(int pageNumber, TypePdfZoomCacheData
{
{
if ( cacheData . splash ! = nullptr )
if ( cacheData . splash ! = nullptr )
{
{
cacheData . cachedImage = QImage ( ) ; // The 'm_pdfZoomCachedImage' uses a buffer from 'mSplash'.
cacheData . cachedImage = QImage ( ) ;
delete cacheData . splash ;
delete cacheData . splash ;
}
}
cacheData . splash = new SplashOutputDev ( splashModeRGB8 , 1 , false , paperColor ) ;
cacheData . splash = new SplashOutputDev ( splashModeRGB8 , 1 , false , paperColor ) ;
@ -100,8 +100,6 @@ class XPDFRenderer : public PDFRenderer
PDFDoc * mDocument ;
PDFDoc * mDocument ;
static QAtomicInt sInstancesCount ;
static QAtomicInt sInstancesCount ;
//! The image is rendered with a quality above normal, so we can use that same
//! image while zooming.
qreal mSliceX ;
qreal mSliceX ;
qreal mSliceY ;
qreal mSliceY ;
} ;
} ;