| 47 | } |
| 48 | |
| 49 | void Widget::onFileModified( QString strFileName ) |
| 50 | { |
| 51 | // check if it was the widget properties that was modified |
| 52 | if (widgetPropertiesPath == strFileName) |
| 53 | { |
| 54 | // reload the widget |
| 55 | widgetManager->reloadWidgetActorOverrides(this, true); |
| 56 | textManager->invalidate(); |
| 57 | rndrManager->invalidateRenderer(); |
| 58 | } |
| 59 | else |
| 60 | { |
| 61 | QFileInfo info(strFileName); |
| 62 | if (info.dir() == QDir(workingDirectory)) |
| 63 | scnManager->onFileModified(strFileName); |
| 64 | } |
| 65 | } |
| 66 | |
| 67 | vector<QString> Widget::getWatchDir() |
| 68 | { |
nothing calls this directly
no test coverage detected