[Qt5] Minor code style cleanups.