diff options
Diffstat (limited to 'src/gui/BreadCrumbs.cpp')
-rw-r--r-- | src/gui/BreadCrumbs.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/BreadCrumbs.cpp b/src/gui/BreadCrumbs.cpp index 796e79bd..e7e7e356 100644 --- a/src/gui/BreadCrumbs.cpp +++ b/src/gui/BreadCrumbs.cpp @@ -174,10 +174,10 @@ BreadCrumbs::breadcrumb_clicked(BreadCrumb* crumb) } void -BreadCrumbs::object_destroyed(const Path& path) +BreadCrumbs::object_destroyed(const URI& uri) { for (std::list<BreadCrumb*>::iterator i = _breadcrumbs.begin(); i != _breadcrumbs.end(); ++i) { - if ((*i)->path() == path) { + if ((*i)->path() == uri) { // Remove all crumbs after the removed one (inclusive) for (std::list<BreadCrumb*>::iterator j = i; j != _breadcrumbs.end(); ) { BreadCrumb* bc = *j; |