summaryrefslogtreecommitdiff
path: root/src/svg
diff options
context:
space:
mode:
Diffstat (limited to 'src/svg')
-rw-r--r--src/svg/doc/qtsvg.qdocconf8
-rw-r--r--src/svg/qsvggenerator.cpp1
2 files changed, 6 insertions, 3 deletions
diff --git a/src/svg/doc/qtsvg.qdocconf b/src/svg/doc/qtsvg.qdocconf
index e8460e9..b180daa 100644
--- a/src/svg/doc/qtsvg.qdocconf
+++ b/src/svg/doc/qtsvg.qdocconf
@@ -31,15 +31,17 @@ depends += qtcore \
tagfile = ../../../doc/qtsvg/qtsvg.tags
headerdirs += .. \
- ../../plugins/svg
+ ../../plugins/imageformats \
+ ../../plugins/iconengines
sourcedirs += .. \
- ../../plugins/svg
+ ../../plugins/imageformats \
+ ../../plugins/iconengines
exampledirs += ../../../examples/svg \
snippets/
-examplesinstallpath = qtsvg/svg
+examplesinstallpath = svg
imagedirs += images
diff --git a/src/svg/qsvggenerator.cpp b/src/svg/qsvggenerator.cpp
index 468b97f..0abd403 100644
--- a/src/svg/qsvggenerator.cpp
+++ b/src/svg/qsvggenerator.cpp
@@ -798,6 +798,7 @@ int QSvgGenerator::metric(QPaintDevice::PaintDeviceMetric metric) const
case QPaintDevice::PdmPhysicalDpiY:
return d->engine->resolution();
case QPaintDevice::PdmDevicePixelRatio:
+ case QPaintDevice::PdmDevicePixelRatioScaled:
return 1;
default:
qWarning("QSvgGenerator::metric(), unhandled metric %d\n", metric);