Summary: | class view hierarchy-view not enabled on import | ||
---|---|---|---|
Product: | [Developer tools] kdevplatform | Reporter: | Robert Jonsson <rj> |
Component: | classbrowser | Assignee: | KDevelop Developers <kdevelop-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | git master | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Robert Jonsson
2003-07-21 13:40:43 UTC
Subject: kdevelop/parts/classview CVS commit by dymo: Use "In a directory hierarchy" configuration option as default when nothing was specified. CCMAIL: 61487-done@bugs.kde.org M +1 -1 classviewconfigwidget.cpp 1.4 M +4 -4 classviewwidget.cpp 1.33 --- kdevelop/parts/classview/classviewwidget.cpp #1.32:1.33 @@ -228,8 +228,8 @@ void ClassViewWidget::buildTreeByCategor QDomDocument &dom = *m_part->projectDom(); - bool foldersAsHierarchy = DomUtil::readBoolEntry(dom, "/kdevclassview/folderhierarchy"); + bool foldersAsHierarchy = DomUtil::readBoolEntry(dom, "/kdevclassview/folderhierarchy", true); int depth = 0; if (!foldersAsHierarchy) { - depth = DomUtil::readIntEntry(dom, "/kdevclassview/depthoffolders"); + depth = DomUtil::readIntEntry(dom, "/kdevclassview/depthoffolders", 0); if (depth == 0) depth = 2; @@ -285,8 +285,8 @@ void ClassViewWidget::buildTreeByCategor QDomDocument &dom = *m_part->projectDom(); - bool foldersAsHierarchy = DomUtil::readBoolEntry(dom, "/kdevclassview/folderhierarchy"); + bool foldersAsHierarchy = DomUtil::readBoolEntry(dom, "/kdevclassview/folderhierarchy", true); int depth = 0; if (!foldersAsHierarchy) { - depth = DomUtil::readIntEntry(dom, "/kdevclassview/depthoffolders"); + depth = DomUtil::readIntEntry(dom, "/kdevclassview/depthoffolders", 0); if (depth == 0) depth = 2; moving to kdevplatform's classbrowser |