Simplifies code and also grab just one pixel instead of the entire screen.
BUG: 382261
FIXED-IN: 5.10.4
davidedmundson |
Plasma |
Simplifies code and also grab just one pixel instead of the entire screen.
BUG: 382261
FIXED-IN: 5.10.4
Picks correct color on both screens and also seems to pick fine with device pixel ratio (plasmashell doesn't use it but plasmoidviewer does)
Code from QColorDialog
Lint Skipped |
Unit Tests Skipped |
Can you validate the pixmap is not null before we access the pixel data, just in case grabwindow fails.