qt: Don't set navigation slider max to 0 to avoid divide by zero on mac