Backport to Qt 4.8.
Interface tweaks.