MCPcopy Create free account
hub / github.com/KDE/labplot / finalizeLoad

Method finalizeLoad

src/backend/datasources/LiveDataSource.cpp:997–1010  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

995}
996
997void LiveDataSource::finalizeLoad() {
998 // convert from the relative path saved in the project file to the absolute file to work with
999 if (m_relativePath) {
1000 QFileInfo fi(project()->fileName());
1001 m_fileName = fi.dir().absoluteFilePath(m_fileName);
1002 }
1003
1004 // read the content of the file if it was only linked
1005 if (m_fileLinked && QFile::exists(m_fileName))
1006 this->read();
1007
1008 // call setUpdateType() to start watching the file for changes, is required
1009 setUpdateType(m_updateType);
1010}

Callers

nothing calls this directly

Calls 2

readMethod · 0.95
fileNameMethod · 0.45

Tested by

no test coverage detected