Fix compatibility with MSVC.
This commit is contained in:
parent
41d2ad7afa
commit
6565cc6355
|
@ -108,7 +108,8 @@ auto DialogMDataBase::ImgTag(const VPatternImage &image) -> QString
|
|||
return QStringLiteral("<img src=\"wrong.png\" align=\"center\"/>"); // In case of error
|
||||
}
|
||||
|
||||
return QString("<img src=\"data:%1;base64,%2\" align=\"center\"/>").arg(image.ContentType(), image.ContentData());
|
||||
return QStringLiteral("<img src=\"data:%1;base64,%2\" align=\"center\"/>")
|
||||
.arg(image.ContentType(), QString(image.ContentData()));
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue
Block a user