diff --git a/svg.cpp b/svg.cpp index f090dcf64..f2a13c7c4 100644 --- a/svg.cpp +++ b/svg.cpp @@ -211,7 +211,7 @@ class SvgPrivate s_renderers[path] = renderer; } - if (size != QSizeF()) { + if (size == QSizeF()) { size = renderer->defaultSize(); } }