From 4b9ae942606322ad49bd97922737400fff5ea142 Mon Sep 17 00:00:00 2001 From: ubbo Date: Thu, 29 Jul 2010 12:33:40 +0000 Subject: decode quoted printable git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@363 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- attachments.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'attachments.cpp') diff --git a/attachments.cpp b/attachments.cpp index 3debb91..5c08bf1 100644 --- a/attachments.cpp +++ b/attachments.cpp @@ -88,7 +88,7 @@ void Attachments::saveFile() // only singe-selection possible now: TODO: foreach MimePart mp = table->getMimePart(indexes.at(0).row()); - QString filename = mp.getParam("Content-Type", "name"); + QString filename = mp.header.getParam("Content-Type", "name"); // TODO: find out why filename is quoted filename.chop(1); filename.remove(0, 1); -- cgit v1.2.3