| 1784 | } |
| 1785 | |
| 1786 | void MainWindow::recordControlUpdate() { |
| 1787 | m_recording = false; |
| 1788 | ui->apngSkip->setEnabled(true); |
| 1789 | ui->actionRecordAnimated->setEnabled(true); |
| 1790 | ui->buttonRecordAnimated->setEnabled(true); |
| 1791 | ui->actionRecordAnimated->setChecked(false); |
| 1792 | ui->buttonRecordAnimated->setText(tr("Record")); |
| 1793 | ui->actionRecordAnimated->setText(tr("Record animated PNG...")); |
| 1794 | m_msgLabel.clear(); |
| 1795 | } |
| 1796 | |
| 1797 | void RecordingThread::run() { |
| 1798 | apng_save(m_filename.toStdString().c_str(), m_optimize); |