No need for X specific fiddling, Qt will do the right thing. BUG:424048
Attach a file by drag & drop or click to upload