Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/e03e8f54946717b73b0b28e23a5e6808fa43bc51?style=split&whitespace=ignore-change
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
6 additions and
11 deletions
src/domain/UBGraphicsMediaItem.cpp
@ -66,17 +66,12 @@ QVariant UBGraphicsMediaItem::itemChange(GraphicsItemChange change, const QVaria
{
{
QString absoluteMediaFilename ;
QString absoluteMediaFilename ;
// if (mMediaFileUrl.isRelative() && scene()->document())
if ( mMediaFileUrl . toLocalFile ( ) . startsWith ( " audios/ " ) | | mMediaFileUrl . toLocalFile ( ) . startsWith ( " videos/ " ) ) {
// {
absoluteMediaFilename = scene ( ) - > document ( ) - > persistencePath ( ) + " / " + mMediaFileUrl . toLocalFile ( ) ;
absoluteMediaFilename =
}
scene ( ) - > document ( ) - > persistencePath ( )
else {
+ " / " + mMediaFileUrl . toLocalFile ( ) ;
absoluteMediaFilename = mMediaFileUrl . toLocalFile ( ) ;
// }
}
// else if (!mMediaFileUrl.isRelative())
// {
// absoluteMediaFilename = mMediaFileUrl.toLocalFile();
// }
if ( absoluteMediaFilename . length ( ) > 0 )
if ( absoluteMediaFilename . length ( ) > 0 )
mMediaObject - > setCurrentSource ( Phonon : : MediaSource ( absoluteMediaFilename ) ) ;
mMediaObject - > setCurrentSource ( Phonon : : MediaSource ( absoluteMediaFilename ) ) ;