Пример #1
0
void RDirNode::nodeUpdated(bool userInitiated) {
    if(userInitiated) since_last_node_change = 0.0;

    calcRadius();
    updateFilePositions();

    if(parent !=0) parent->nodeUpdated(true);
}
Пример #2
0
void RDirNode::nodeUpdated(bool userInitiated) {
    if(userInitiated) since_last_node_change = 0.0;

    calcRadius();
    updateFilePositions();
    if(visible && noDirs() && noFiles()) visible = false;
    if(parent !=0) parent->nodeUpdated(true);
}