1
0
mirror of https://invent.kde.org/system/dolphin synced 2024-07-04 17:30:55 +00:00

Remove setUpdate KBookmarkManager call

It is related to receiving updates from dbus; but that's removed.

Also, it defaults to true
This commit is contained in:
Sune Vuorela 2024-01-03 15:20:59 +01:00
parent 0ac787f562
commit 458fa9c5b3

View File

@ -29,7 +29,6 @@ DolphinBookmarkHandler::DolphinBookmarkHandler(DolphinMainWindow *mainWindow, KA
bookmarksFile += QLatin1String("/bookmarks.xml");
}
m_bookmarkManager = std::make_unique<KBookmarkManager>(bookmarksFile);
m_bookmarkManager->setUpdate(true);
m_bookmarkMenu.reset(new KBookmarkMenu(m_bookmarkManager.get(), this, menu));
collection->addAction(QStringLiteral("add_bookmark"), m_bookmarkMenu->addBookmarkAction());