(trunk, libt) #4147 'bad file descriptor': in cached_file_open(), ensure the file is always opened with writable permissions if we need to call ftruncate() to resize it. Large credit to karamanolev for tracking this down with strace.

git-svn-id: svn://svn.transmissionbt.com/Transmission/trunk@14147 f4695dd4-2c0a-0410-b89c-da849a56a58e
silence a pair of 'unused variable' gcc warnings

git-svn-id: svn://svn.transmissionbt.com/Transmission/trunk@14148 f4695dd4-2c0a-0410-b89c-da849a56a58e
(trunk, gtk) #5032 'gobject warning' -- fix typo introduced in r14144

git-svn-id: svn://svn.transmissionbt.com/Transmission/trunk@14149 f4695dd4-2c0a-0410-b89c-da849a56a58e
support qt5 in transmission-qt

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