| 1117 | } |
| 1118 | |
| 1119 | void LiveCapture::captureCopied(uint32_t ID, const QString &localPath) |
| 1120 | { |
| 1121 | for(int i = 0; i < ui->captures->count(); i++) |
| 1122 | { |
| 1123 | QListWidgetItem *item = ui->captures->item(i); |
| 1124 | Capture *cap = GetCapture(ui->captures->item(i)); |
| 1125 | |
| 1126 | if(cap && cap->remoteID == ID) |
| 1127 | { |
| 1128 | cap->local = true; |
| 1129 | cap->path = localPath; |
| 1130 | QFont f = item->font(); |
| 1131 | f.setItalic(false); |
| 1132 | item->setFont(f); |
| 1133 | item->setText(MakeText(cap)); |
| 1134 | } |
| 1135 | } |
| 1136 | } |
| 1137 | |
| 1138 | void LiveCapture::captureAdded(const QString &name, const NewCaptureData &newCapture) |
| 1139 | { |