fix src/vmdeditoperations.cpp error (#443)

* fix insertImageFromPath function param error : can't convert QString to QString &

* fix src/vmdeditoperations.cpp error
This commit is contained in:
JianYueLin 2018-10-09 23:21:20 +08:00 committed by Le Tan
parent 0484656c1f
commit a1f1618824

View File

@ -131,13 +131,16 @@ void VMdEditOperations::insertImageFromPath(const QString &p_title,
int p_width, int p_width,
int p_height) int p_height)
{ {
QString destImagePath;
QString urlInLink;
insertImageFromPath(p_title, insertImageFromPath(p_title,
p_folderPath, p_folderPath,
p_folderInLink, p_folderInLink,
p_srcImagePath, p_srcImagePath,
true, true,
QString(), destImagePath,
QString(), urlInLink,
p_width, p_width,
p_height); p_height);
} }