qtgui: fixes issue with 1-off because of added history of 2.
qtgui: fixes issue of setting min/max when using qwt < 6.1.0.