diff options
Diffstat (limited to 'src/shared/ClashAvoider.cpp')
-rw-r--r-- | src/shared/ClashAvoider.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/shared/ClashAvoider.cpp b/src/shared/ClashAvoider.cpp index 19a8f15d..10a26934 100644 --- a/src/shared/ClashAvoider.cpp +++ b/src/shared/ClashAvoider.cpp @@ -187,9 +187,10 @@ ClashAvoider::set_property(const Raul::URI& subject, } void -ClashAvoider::del(const Raul::Path& path) +ClashAvoider::del(const Raul::URI& uri) { - _target.del(map_path(path)); + if (Raul::Path::is_path(uri)) + _target.del(map_path(Raul::Path(uri.str()))); } } // namespace Shared |