Fixed my bookmarks downloading from the catalog

This commit is contained in:
r.kuznetsov 2018-11-30 15:57:09 +03:00 committed by Olesia Bolovintseva
parent 25a242fea8
commit 2a495df02f

View file

@ -2168,7 +2168,7 @@ void BookmarkManager::ImportDownloadedFromCatalog(std::string const & id, std::s
{
bool const isMyCategory = ::IsMyCategory(userId, kmlData->m_categoryData);
auto const p = base::JoinPath(isMyCategory ? GetBookmarksDirectory() : GetPrivateBookmarksDirectory(),
id, kKmbExtension);
id + kKmbExtension);
auto collection = std::make_shared<KMLDataCollection>();
collection->emplace_back(p, std::move(kmlData));