aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sources/shiboken6/generator/qtdoc/qtdocgenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken6/generator/qtdoc/qtdocgenerator.cpp b/sources/shiboken6/generator/qtdoc/qtdocgenerator.cpp
index 5a77c10b3..2af5e5325 100644
--- a/sources/shiboken6/generator/qtdoc/qtdocgenerator.cpp
+++ b/sources/shiboken6/generator/qtdoc/qtdocgenerator.cpp
@@ -1748,7 +1748,7 @@ static void copyParsedImage(const ResolvedDocImage &image, QDir &targetDir)
}
QFile source(image.absoluteSourceFilePath);
if (!source.copy(targetFileName))
- throw Exception(msgCannotCopy(image.absoluteSourceFilePath, targetFileName));
+ throw Exception(msgCannotCopy(source, targetFileName));
}
// Copy parsed images from WebXML to doc/base