From 0628ca19575ca86991ce5bff311bb97f48437e68 Mon Sep 17 00:00:00 2001
From: kh1 <qt-info@nokia.com>
Date: Thu, 1 Apr 2010 14:49:15 +0200
Subject: [PATCH] Make the content item the default one.

To make the addition of the qml docs more prominent, make the content
item the default one as it shows all available documentation sets.

Task-number: QTCREATORBUG-1024
Reviewed-by: kkoehne
---
 src/plugins/help/helpplugin.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/help/helpplugin.cpp b/src/plugins/help/helpplugin.cpp
index 79ff2769af5..d43bc8f674b 100644
--- a/src/plugins/help/helpplugin.cpp
+++ b/src/plugins/help/helpplugin.cpp
@@ -428,7 +428,7 @@ void HelpPlugin::setupUi()
     itemList << m_contentItem << m_indexItem << m_searchItem << m_bookmarkItem
         << m_openPagesItem;
     m_sideBar = new Core::SideBar(itemList, QList<Core::SideBarItem*>()
-        << m_indexItem << m_openPagesItem);
+        << m_contentItem << m_openPagesItem);
     m_sideBar->setShortcutMap(shortcutMap);
 
     m_splitter->setOpaqueResize(false);
-- 
GitLab