View Single Post
pichlo's Avatar
Posts: 6,453 | Thanked: 20,983 times | Joined on Sep 2012 @ UK
#3
I would start by adding a qDebug in your zoomSlider method to see the actual values. Another thing I would do is replace the if-else ladder with a switch or, better still, with something like zoom(level * 0.5).
 

The Following User Says Thank You to pichlo For This Useful Post: