Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/b78cc0831898708f5075ddb2fff4c4e621f4f716?style=unified&whitespace=show-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
4 additions and
3 deletions
src/gui/UBSpinningWheel.cpp
src/pdf/PDFRenderer.cpp
src/pdf/XPDFRenderer.cpp
@ -64,7 +64,7 @@ void UBSpinningWheel::paintEvent(QPaintEvent *event)
pen . setCapStyle ( Qt : : RoundCap ) ;
painter . setPen ( pen ) ;
painter . rotate ( 30 * ( mPosition % 12 ) ) ;
painter . rotate ( 30 * ( mPosition . loadAcquire ( ) % 12 ) ) ;
for ( int i = 0 ; i < 12 ; i + + )
{
@ -26,6 +26,7 @@
# include <QFile>
# include <QDesktopWidget>
# include "PDFRenderer.h"
@ -97,7 +98,7 @@ void PDFRenderer::attach()
void PDFRenderer : : detach ( )
{
mRefCount . deref ( ) ;
if ( mRefCount = = 0 )
if ( mRefCount . loadAcquire ( ) = = 0 )
{
sRenderers . remove ( mFileUuid ) ;
delete this ;
@ -66,7 +66,7 @@ XPDFRenderer::~XPDFRenderer()
sInstancesCount . deref ( ) ;
}
if ( sInstancesCount = = 0 & & globalParams )
if ( sInstancesCount . loadAcquire ( ) = = 0 & & globalParams )
{
delete globalParams ;
globalParams = 0 ;