| 1008 | } |
| 1009 | |
| 1010 | int LiveCapture::unsavedCaptureCount() |
| 1011 | { |
| 1012 | int ret = 0; |
| 1013 | |
| 1014 | for(int i = 0; i < ui->captures->count(); i++) |
| 1015 | { |
| 1016 | Capture *cap = GetCapture(ui->captures->item(i)); |
| 1017 | |
| 1018 | if(!cap->saved) |
| 1019 | ret++; |
| 1020 | } |
| 1021 | |
| 1022 | return ret; |
| 1023 | } |
| 1024 | |
| 1025 | void LiveCapture::previewToggle_toggled(bool checked) |
| 1026 | { |
no test coverage detected