| 1867 | } |
| 1868 | |
| 1869 | void MainWindow::startTask(Task *task) |
| 1870 | { |
| 1871 | connect(task, SIGNAL(succeeded()), SLOT(taskEnd())); |
| 1872 | connect(task, SIGNAL(failed(QString)), SLOT(taskEnd())); |
| 1873 | task->start(); |
| 1874 | } |
| 1875 | |
| 1876 | void MainWindow::instanceChanged(const QModelIndex ¤t, const QModelIndex &previous) |
| 1877 | { |