Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/59ff00754ba25c1cb1d9e46797d1ac4a8027aa9a?style=split&whitespace=ignore-change
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
10 additions and
4 deletions
src/core/main.cpp
@ -74,8 +74,14 @@ int main(int argc, char *argv[])
UBApplication app ( " Sankore 3.1 " , argc , argv ) ;
UBApplication app ( " Sankore 3.1 " , argc , argv ) ;
//BUGFIX:
//when importing a sankore file that contains a non standard character
//the codecForLocale or the codecForCString is used to convert the file path
//into a const char*. This is why in french windows setup the codec name shouldn't be
//set to UTF-8. For example, setting UTF-8, will convert "Haïti" into "HaÂ-ti.
QTextCodec : : setCodecForTr ( QTextCodec : : codecForName ( " UTF-8 " ) ) ;
QTextCodec : : setCodecForTr ( QTextCodec : : codecForName ( " UTF-8 " ) ) ;
QTextCodec : : setCodecForLocale ( QTextCodec : : codecForName ( " UTF-8 " ) ) ;
//QTextCodec::setCodecForLocale(QTextCodec::codecForName("UTF-8"));
QTextCodec : : setCodecForCStrings ( QTextCodec : : codecForName ( " UTF-8 " ) ) ;
QTextCodec : : setCodecForCStrings ( QTextCodec : : codecForName ( " UTF-8 " ) ) ;
QStringList args = app . arguments ( ) ;
QStringList args = app . arguments ( ) ;