D7482: Automatic scaling selection

Kai Uwe Broulik noreply at phabricator.kde.org
Thu Aug 24 09:47:13 UTC 2017


broulik added inline comments.

INLINE COMMENTS

> generator.cpp:553
> +    //you'd find in a high res screen
> +    if (dpi > 96 * 1.5 && mode->size().height() > 1200 * 1.5) {
> +        return 2.0;

My laptop has 230dpi but only a vertical resolution of 1440, so this wouldn't work for me.

> generator.h:76
>          KScreen::ModePtr bestModeForOutput(const KScreen::OutputPtr &output);
> +        qreal bestScaleForOutput(const KScreen::OutputPtr &output);
>  

const?

REPOSITORY
  R104 KScreen

REVISION DETAIL
  https://phabricator.kde.org/D7482

To: davidedmundson, #plasma
Cc: broulik, plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart, lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170824/7d43d3bf/attachment-0001.html>


More information about the Plasma-devel mailing list