MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / getFileSystemItem

Method getFileSystemItem

Engine/FileSystemModel.cpp:834–842  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

832}
833
834FileSystemItemPtr
835FileSystemModel::getFileSystemItem(const QString& path) const
836{
837 if ( !path.isEmpty() ) {
838 return _imp->getItemFromPath(path);
839 }
840
841 return _imp->rootItem;
842}
843
844FileSystemItem*
845FileSystemModel::getFileSystemItem(const QModelIndex& index) const

Callers 4

onSelectionChangedMethod · 0.80
updateViewMethod · 0.80
paintMethod · 0.80
selectedFilesMethod · 0.80

Calls 2

getItemFromPathMethod · 0.80
isEmptyMethod · 0.45

Tested by

no test coverage detected