https://bugs.kde.org/show_bug.cgi?id=454131

--- Comment #4 from Nate Graham <n...@kde.org> ---
Probably something here is incorrect:


int Units::roundToIconSize(int size)
{
    // If not using Qt scaling (e.g. on X11 by default), manually scale all
sizes
    // according to the DPR because Qt hasn't done it for us. Otherwise all
    // returned sizes are too small and icons are only the right size by pure
    // chance for the larger sizes due to their large differences in size
    qreal multiplier = 1.0;
    QScreen *primary = QGuiApplication::primaryScreen();
    if (primary) {
        // Note that when using Qt scaling, the multiplier will always be 1
        // because Qt will scale everything for us. This is good and
intentional.
        multiplier =
bestIconScaleForDevicePixelRatio((qreal)primary->logicalDotsPerInchX() /
(qreal)96);

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to