Revert "Fix PVS-Studio warning: implicit int->qreal conversions" on single file.
This caused BUG:399626
The selector still has several other problems, but at the least this is not one of them.