summaryrefslogtreecommitdiff
path: root/quacker/configdialog.cpp
diff options
context:
space:
mode:
authorJohn Fultz <jfultz@wolfram.com>2019-08-11 08:26:26 -0500
committerJohn Fultz <jfultz@wolfram.com>2019-08-11 08:26:26 -0500
commit61aa7d337a045759e06803c89b5f364ca4ed26b1 (patch)
tree697ccd79d7422de0f6223925aed43caa856b8ab3 /quacker/configdialog.cpp
parent5deb07e6f33b1bfa9ea655ee14700dc126f04537 (diff)
Fix devicePixelRatios on tile pixmap after dragging it.
Apparently, when you serialize a pixmap through a QDataStream(), it loses track of its devicePixelRatio setting. End rule was that if, on a HiDpi screen, you dragged and dropped a tile within the rack, you'd get a tile that was larger than it should have been by a factor of the default pixel ratio. Solution is to simply reapply the pixel ratio to the newly created Pixmap after deserializing it in the drag-drop code.
Diffstat (limited to 'quacker/configdialog.cpp')
0 files changed, 0 insertions, 0 deletions