qt - Using QmessageBox in translated mode causes the first charactor of each sentences go under the messageBox icon -


i use qmessagebox show messages in program(information, critical, warnings , ...). works in english when translated farsi, first charactors of each sentences go under icon.it doesn't happen , understand happens when use .arg string , in argument part use "\n". example in following code:

qmessagebox::critical(null , "error", qstring(tr("backup creation failed. %1").arg("\ntest"))); 

enter image description here


Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -