Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Joao Oliveira
Okular
Commits
f8cb4789
Commit
f8cb4789
authored
Jul 17, 2014
by
Albert Astals Cid
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/KDE/4.14'
parents
f1082166
5002b26e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
core/utils.cpp
core/utils.cpp
+3
-2
No files found.
core/utils.cpp
View file @
f8cb4789
...
...
@@ -132,9 +132,10 @@ QSizeF Utils::realDpi(QWidget* widgetOnScreen)
kDebug
()
<<
"Found widget at output #"
<<
selectedOutput
->
id
();
QRect
outputRect
(
selectedOutput
->
pos
(),
selectedOutput
->
currentMode
()
->
size
());
QSize
szMM
=
selectedOutput
->
sizeMm
();
kDebug
()
<<
"Output size is "
<<
szMM
;
kDebug
()
<<
"Output size is (mm) "
<<
szMM
;
kDebug
()
<<
"Output rect is "
<<
outputRect
;
if
(
selectedOutput
->
edid
())
{
kDebug
()
<<
"EDID WxH: "
<<
selectedOutput
->
edid
()
->
width
()
<<
'x'
<<
selectedOutput
->
edid
()
->
height
();
kDebug
()
<<
"EDID WxH
(cm)
: "
<<
selectedOutput
->
edid
()
->
width
()
<<
'x'
<<
selectedOutput
->
edid
()
->
height
();
}
if
(
szMM
.
width
()
>
0
&&
szMM
.
height
()
>
0
&&
outputRect
.
width
()
>
0
&&
outputRect
.
height
()
>
0
&&
selectedOutput
->
edid
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment