# # # patch "src/model/InventoryWatcher.cpp" # from [f185f2db5e3e22e9d5fbdd66ece8414c8def3f5c] # to [6693a9787830f238a47d66a5e1aae09f05d74b23] # ============================================================ --- src/model/InventoryWatcher.cpp f185f2db5e3e22e9d5fbdd66ece8414c8def3f5c +++ src/model/InventoryWatcher.cpp 6693a9787830f238a47d66a5e1aae09f05d74b23 @@ -127,16 +127,19 @@ void InventoryWatcher::pathChanged(const return; } - if (path == ".mtn-ignore") + QString nodePath = + path.mid(path.indexOf(workspace) + workspace.length() + 1); + + if (nodePath == ".mtn-ignore") { // automate stdio up until 0.46 needs to be restarted in order to // pick up changes in .mtn-ignore + L(QString(".mtn-ignore changed, stopping all threads for %1") + .arg(workspace)); APP->manager()->stopWorkspaceThreads(workspace); } - markPathForNotification( - path.mid(path.indexOf(workspace) + workspace.length() + 1) - ); + markPathForNotification(nodePath); } void InventoryWatcher::markPathForNotification(const QString & newPath)