Fix compatibility with MSVC.

This commit is contained in:
Roman Telezhynskyi 2023-11-15 08:19:41 +02:00
parent 41d2ad7afa
commit 6565cc6355

View File

@ -108,7 +108,8 @@ auto DialogMDataBase::ImgTag(const VPatternImage &image) -> QString
return QStringLiteral("<img src=\"wrong.png\" align=\"center\"/>"); // In case of error 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()));
} }
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------