summaryrefslogtreecommitdiff
path: root/noncore/unsupported/mail2/composer.cpp
Unidiff
Diffstat (limited to 'noncore/unsupported/mail2/composer.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/unsupported/mail2/composer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/unsupported/mail2/composer.cpp b/noncore/unsupported/mail2/composer.cpp
index 57f0779..82ed117 100644
--- a/noncore/unsupported/mail2/composer.cpp
+++ b/noncore/unsupported/mail2/composer.cpp
@@ -196,13 +196,13 @@ void Composer::slotOpenAddressPicker()
196 } 196 }
197 } 197 }
198} 198}
199 199
200void Composer::slotAddAttach() 200void Composer::slotAddAttach()
201{ 201{
202 DocLnk lnk = AttachDiag::getFile(); 202 DocLnk lnk = AttachDiag::getFile(this);
203 if (lnk.name().isEmpty()) return; 203 if (lnk.name().isEmpty()) return;
204 204
205 Attachment attachment; 205 Attachment attachment;
206 attachment.setFileName(lnk.file()); 206 attachment.setFileName(lnk.file());
207 attachment.setNewName(lnk.name()); 207 attachment.setNewName(lnk.name());
208 attachment.setDocLnk(&lnk); 208 attachment.setDocLnk(&lnk);