Skip to content
  • Tobias Hunger's avatar
    ProjectNodes: Do not derive Project Nodes from QObject · 45046f70
    Tobias Hunger authored and Tim Jenssen's avatar Tim Jenssen committed
    
    
    That should save some memory per node, and since creator has a lot of nodes
    (e.g. opening the LLVM project adds about 1 000 000 nodes) this should be
    noticeable:-)
    
    Calling update inside ProjectTree::currentNode() and rename it to
    findCurrentNode() to make sure it is an still existing pointer.
    Also, try to reduce the somehow more expensive currentNode() calls
    and sprinkle some const around that usage.
    
    Change-Id: I6a7c5db01a71d53d39544d3013cad557d5b96cdc
    Reviewed-by: default avatarTobias Hunger <tobias.hunger@qt.io>
    45046f70