forked from qt-creator/qt-creator
Help: Clean up bookmarks widget
Remove unused buttons, and unify style with other views (e.g. no focus rect on OS X) by using the common navigation tree view class. Change-Id: I51ce1806507e45077bcbf6b8589585bb15eae712 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
@@ -297,7 +297,7 @@ void HelpWidget::addSideBar()
|
||||
: tr("Ctrl+Shift+I")));
|
||||
shortcutMap.insert(QLatin1String(Constants::HELP_INDEX), cmd);
|
||||
|
||||
auto bookmarkWidget = new BookmarkWidget(&LocalHelpManager::bookmarkManager(), 0, false);
|
||||
auto bookmarkWidget = new BookmarkWidget(&LocalHelpManager::bookmarkManager());
|
||||
bookmarkWidget->setWindowTitle(tr(Constants::SB_BOOKMARKS));
|
||||
bookmarkWidget->setOpenInNewPageActionVisible(false);
|
||||
auto bookmarkItem = new Core::SideBarItem(bookmarkWidget,
|
||||
|
||||
Reference in New Issue
Block a user