Changeset View
Changeset View
Standalone View
Standalone View
khelpcenter/scrollkeepertreebuilder.cpp
Context not available. | |||||
45 | mShowEmptyDirs = Prefs::showEmptyDirs(); | 45 | mShowEmptyDirs = Prefs::showEmptyDirs(); | ||
---|---|---|---|---|---|
46 | } | 46 | } | ||
47 | 47 | | |||
48 | void ScrollKeeperTreeBuilder::buildOrHide( NavigatorItem *parent ) | ||||
49 | { | ||||
50 | build(parent); | ||||
51 | | ||||
52 | parent->setHidden(parent->childCount() == 0); | ||||
53 | } | ||||
54 | | ||||
48 | void ScrollKeeperTreeBuilder::build( NavigatorItem *parent ) | 55 | void ScrollKeeperTreeBuilder::build( NavigatorItem *parent ) | ||
49 | { | 56 | { | ||
50 | QString lang = QLocale().bcp47Name(); | 57 | QString lang = QLocale().bcp47Name(); | ||
Context not available. |