| 51 | |
| 52 | |
| 53 | void |
| 54 | GenericDataWorker::onPrepare(void) |
| 55 | { |
| 56 | if (!this->writerPrepared) { |
| 57 | this->writerPrepared = this->instance->writer->prepare(); |
| 58 | if (!this->writerPrepared) |
| 59 | emit error(QString::fromStdString(this->instance->writer->getError())); |
| 60 | else |
| 61 | emit prepared(); |
| 62 | } |
| 63 | } |
| 64 | |
| 65 | void |
| 66 | GenericDataWorker::onCommit(void) |