summaryrefslogtreecommitdiffstats
path: root/src/libs/client/PatchModel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/client/PatchModel.cpp')
-rw-r--r--src/libs/client/PatchModel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/client/PatchModel.cpp b/src/libs/client/PatchModel.cpp
index 360707d3..20a47406 100644
--- a/src/libs/client/PatchModel.cpp
+++ b/src/libs/client/PatchModel.cpp
@@ -202,7 +202,7 @@ PatchModel::child_name_offset(ClientStore& store,
ss << base_name;
if (offset > 0)
ss << "_" << offset;
- if (store.find(parent->path().base() + ss.str()) == store.objects().end())
+ if (store.find(parent->path().base() + ss.str()) == store.end())
break;
else if (offset == 0)
offset = 2;