core: remove DPR from IconMetrics class

There is no user of this left, because the device-pixel-ratio
is now passed directly to the profile.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2021-08-31 09:27:29 +02:00 committed by Dirk Hohndel
parent 5f22de7ebe
commit 9e831c5001
3 changed files with 1 additions and 11 deletions

View file

@ -16,8 +16,7 @@ IconMetrics::IconMetrics() :
sz_med(-1),
sz_big(-1),
sz_pic(-1),
spacing(-1),
dpr(1.0)
spacing(-1)
{
}
@ -58,8 +57,3 @@ const IconMetrics &defaultIconMetrics()
return dfltIconMetrics;
}
void updateDevicePixelRatio(double dpr)
{
dfltIconMetrics.dpr = dpr;
}