| 729 | } |
| 730 | |
| 731 | void ChatRootView::removeFileFromLinkList(int index) |
| 732 | { |
| 733 | if (index < 0 || index >= m_linkedFiles.size()) { |
| 734 | return; |
| 735 | } |
| 736 | |
| 737 | const QString removedFile = m_linkedFiles.at(index); |
| 738 | m_linkedFiles.removeAt(index); |
| 739 | emit linkedFilesChanged(); |
| 740 | |
| 741 | LOG_MESSAGE(QString("Removed linked file: %1").arg(removedFile)); |
| 742 | } |
| 743 | |
| 744 | void ChatRootView::showAddImageDialog() |
| 745 | { |