| 669 | } |
| 670 | |
| 671 | void ChatRootView::removeFileFromAttachList(int index) |
| 672 | { |
| 673 | if (index < 0 || index >= m_attachmentFiles.size()) { |
| 674 | return; |
| 675 | } |
| 676 | |
| 677 | const QString removedFile = m_attachmentFiles.at(index); |
| 678 | m_attachmentFiles.removeAt(index); |
| 679 | emit attachmentFilesChanged(); |
| 680 | |
| 681 | LOG_MESSAGE(QString("Removed attachment file: %1").arg(removedFile)); |
| 682 | } |
| 683 | |
| 684 | void ChatRootView::showLinkFilesDialog() |
| 685 | { |