| 1831 | } |
| 1832 | |
| 1833 | void MainWindow::startTask(Task *task) |
| 1834 | { |
| 1835 | connect(task, SIGNAL(succeeded()), SLOT(taskEnd())); |
| 1836 | connect(task, SIGNAL(failed(QString)), SLOT(taskEnd())); |
| 1837 | task->start(); |
| 1838 | } |
| 1839 | |
| 1840 | void MainWindow::instanceChanged(const QModelIndex ¤t, const QModelIndex &previous) |
| 1841 | { |