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

Method enterDirectory

Gui/SequenceFileDialog.cpp:978–986  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

976} // onSelectionChanged
977
978void
979SequenceFileDialog::enterDirectory(const QModelIndex & index)
980{
981 QString path = index.data(FileSystemModel::FilePathRole).toString();
982
983 if ( path.isEmpty() || _model->isDir(index) ) {
984 setDirectory(path);
985 }
986}
987
988bool
989SequenceFileDialog::setDirectory(const QString &directory)

Callers

nothing calls this directly

Calls 3

isDirMethod · 0.80
dataMethod · 0.45
isEmptyMethod · 0.45

Tested by

no test coverage detected