Fix GUI problems in RHEL 6 builds

The previous GUI changes used a function that wasn't available in the
version of Qt that comes with RHEL6.

Refs #6661