[Bug 61487] class view hierarchy-view not enabled on import
Alexander Dymo
cloudtemple at mksat.net
Sun Jul 27 17:08:05 UTC 2003
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=61487
cloudtemple at mksat.net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
------- Additional Comments From cloudtemple at mksat.net 2003-07-27 17:06 -------
Subject: kdevelop/parts/classview
CVS commit by dymo:
Use "In a directory hierarchy" configuration option as default when nothing was specified.
CCMAIL: 61487-done at 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;
More information about the KDevelop-devel
mailing list