Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/e681470cca70cfbefba4ebbc037bcc0fae7bbd68?style=split&whitespace=ignore-change
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
7 additions and
1 deletions
src/gui/UBLibraryWidget.cpp
@ -364,10 +364,16 @@ void UBLibraryWidget::dropEvent(QDropEvent *event)
QList < QUrl > urlList = pMimeData - > urls ( ) ;
QList < QUrl > urlList = pMimeData - > urls ( ) ;
for ( int i = 0 ; i < urlList . size ( ) & & i < 32 ; + + i ) {
for ( int i = 0 ; i < urlList . size ( ) & & i < 32 ; + + i ) {
QString filePath ;
QString filePath ;
QString crntPath = urlList . at ( i ) . toString ( ) ;
# ifdef Q_WS_MACX
# ifdef Q_WS_MACX
filePath = QUrl ( urlList . at ( i ) ) . toString ( ) ;
filePath = QUrl ( urlList . at ( i ) ) . toString ( ) ;
# else
# else
filePath = QUrl ( urlList . at ( i ) . path ( ) ) . toLocalFile ( ) ;
if ( crntPath . startsWith ( " file: " ) | | crntPath . startsWith ( " / " ) ) {
filePath = QUrl ( crntPath ) . toLocalFile ( ) ;
} else {
filePath = crntPath ;
}
# endif
# endif
mLibraryController - > importItemOnLibrary ( filePath ) ;
mLibraryController - > importItemOnLibrary ( filePath ) ;
bDropAccepted = true ;
bDropAccepted = true ;