summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qrasterwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel/qrasterwindow.cpp')
-rw-r--r--src/gui/kernel/qrasterwindow.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/kernel/qrasterwindow.cpp b/src/gui/kernel/qrasterwindow.cpp
index c04eb71420..fc1739ca0e 100644
--- a/src/gui/kernel/qrasterwindow.cpp
+++ b/src/gui/kernel/qrasterwindow.cpp
@@ -108,8 +108,6 @@ int QRasterWindow::metric(PaintDeviceMetric metric) const
switch (metric) {
case PdmDepth:
return d->backingstore->paintDevice()->depth();
- case PdmDevicePixelRatio:
- return d->backingstore->paintDevice()->devicePixelRatio();
default:
break;
}