resolve a non-QT build performance issue regarding seek calls