diff options
Diffstat (limited to 'attachments.cpp')
-rw-r--r-- | attachments.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |