mirror of
https://github.com/KDE/konsole.git
synced 2026-04-29 10:16:54 -04:00
Adapt to kbookmarks API change
This commit is contained in:
@@ -44,7 +44,11 @@ BookmarkHandler::BookmarkHandler(KActionCollection *collection, QMenu *menu, boo
|
||||
_file += QStringLiteral("/bookmarks.xml");
|
||||
}
|
||||
|
||||
#if QT_VERSION_MAJOR < 6
|
||||
KBookmarkManager *manager = KBookmarkManager::managerForFile(_file, QStringLiteral("konsole"));
|
||||
#else
|
||||
KBookmarkManager *manager = KBookmarkManager::managerForFile(_file);
|
||||
#endif
|
||||
manager->setUpdate(true);
|
||||
|
||||
// This constructor is only called with toplevel as true; regardless the
|
||||
|
||||
Reference in New Issue
Block a user