Version: 3.0.0a5 (using KDE 3.1.2) Installed from: compiled sources Compiler: gcc version 3.3 (Mandrake Linux 9.2 3.3-2mdk) OS: Linux (i686) release 2.4.21-0.13mdk If the "Project Options->Class View->Display Classes" is set to "In a directory hierarchy" upon importing an existing project the resulting import is still not displayed in a hierarchy, to enable it you have to go to the named position and reselect the radio-button again (note that it has the correct value, clicking on "In a flag list" and then on "In a directory hierarchy" is needed to enable it).
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