| 53 | ctkSimplePythonManager * pythonManager = reinterpret_cast<ctkSimplePythonManager*>(data); |
| 54 | QStringList scripts = pythonManager->property("scripts").toStringList(); |
| 55 | foreach(const QString& script, scripts) |
| 56 | { |
| 57 | pythonManager->executeFile(script); |
| 58 | if (pythonManager->pythonErrorOccured()) |
| 59 | { |
| 60 | QApplication::exit(EXIT_FAILURE); |
| 61 | } |
| 62 | } |
| 63 | } |
| 64 | |
| 65 | //----------------------------------------------------------------------------- |
nothing calls this directly
no test coverage detected