* Replaced round() with qRound(), which is both more correct in this case, and
  allows it to build properly on Windows.