fix crash when creating the Open Torrent dialog in Qt 5.2 on Ubuntu 14.04

git-svn-id: svn://svn.transmissionbt.com/Transmission/trunk@14254 f4695dd4-2c0a-0410-b89c-da849a56a58e