equal
deleted
inserted
replaced
404 void NmEditorHeader::addAttachment( |
404 void NmEditorHeader::addAttachment( |
405 const QString &fileName, const QString &fileSize, const NmId &nmid) |
405 const QString &fileName, const QString &fileSize, const NmId &nmid) |
406 { |
406 { |
407 NM_FUNCTION; |
407 NM_FUNCTION; |
408 |
408 |
|
409 mAttachmentList->insertAttachment(fileName, fileSize, nmid); |
|
410 |
409 if (!mAttachmentList->listWidget().isVisible()) { |
411 if (!mAttachmentList->listWidget().isVisible()) { |
410 mAttachmentList->listWidget().show(); |
412 mAttachmentList->listWidget().show(); |
411 } |
413 } |
412 |
414 |
413 mAttachmentList->insertAttachment(fileName, fileSize, nmid); |
|
414 sendHeaderHeightChanged(); |
415 sendHeaderHeightChanged(); |
415 } |
416 } |
416 |
417 |
417 /*! |
418 /*! |
418 Remove attachment from the list. This function is used when |
419 Remove attachment from the list. This function is used when |