EditorManager: Replace another root-to-leaf search by leaf-to-root.
For finding the "parent" SplitterOrView it's much easier to go up the
parent hierarchy than doing a depth-first search from the root.
Change-Id: I4c8e195dae2d1f834fb89ab3c213bad5a0fa7d2a
Reviewed-by:
David Schulz <david.schulz@digia.com>
Showing
- src/plugins/coreplugin/editormanager/editormanager.cpp 1 addition, 1 deletionsrc/plugins/coreplugin/editormanager/editormanager.cpp
- src/plugins/coreplugin/editormanager/editorview.cpp 7 additions, 9 deletionssrc/plugins/coreplugin/editormanager/editorview.cpp
- src/plugins/coreplugin/editormanager/editorview.h 1 addition, 1 deletionsrc/plugins/coreplugin/editormanager/editorview.h
Loading
Please register or sign in to comment