use QScreen unconditionally instead of libkscreen

Review Request #126913 - Created Jan. 28, 2016 and submitted

Information
Sebastian Kügler
okular
frameworks
Reviewers
okular
aacid

This patch removes libkscreen usage and ports it to QScreen.

- Instead of retrieving and polishing the DPI from libkscreen, use
  the widget's windowhandle to retrieve the current screen and return
  that as the widget's DPI.

- Remove libkscreen from buildsystem

- Kill old libkscreen code. This wasn't built anyway, and wouldn't build
  against new libkscreen anyway.

little, started okular on my laptop and viewed a pdf, nothing odd going on...

Issues

  • 2
  • 0
  • 0
  • 2
Description From Last Updated
you missed out all of this bit which does validity checks David Edmundson David Edmundson
this can be replaced by QScreen too. David Edmundson David Edmundson
David Edmundson
Albert Astals Cid
Sebastian Kügler
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit f42a3bad65200267cfe04cf584c203e70a3a6ec0 by Aleix Pol to branch frameworks.
Loading...