summaryrefslogtreecommitdiff
path: root/noncore/unsupported/mail2/composer.cpp
Unidiff
Diffstat (limited to 'noncore/unsupported/mail2/composer.cpp') (more/less context) (ignore 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
@@ -190,25 +190,25 @@ void Composer::slotOpenAddressPicker()
190 } 190 }
191 } else if (to->isHidden() && cc->isHidden() && !bcc->isHidden()) { 191 } else if (to->isHidden() && cc->isHidden() && !bcc->isHidden()) {
192 if (bcc->text().isEmpty()) { 192 if (bcc->text().isEmpty()) {
193 bcc->setText(AddressPicker::getNames()); 193 bcc->setText(AddressPicker::getNames());
194 } else { 194 } else {
195 bcc->setText(bcc->text() + ", " + AddressPicker::getNames()); 195 bcc->setText(bcc->text() + ", " + AddressPicker::getNames());
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);
209 209
210 (void) new AttachViewItem(attachView, attachment); 210 (void) new AttachViewItem(attachView, attachment);
211} 211}
212 212
213void Composer::slotDelAttach() 213void Composer::slotDelAttach()
214{ 214{