MCPcopy Create free account
hub / github.com/YACReader/yacreader / rescanFolderForXMLInfo

Method rescanFolderForXMLInfo

YACReaderLibrary/library_window.cpp:1995–2005  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1993}
1994
1995void LibraryWindow::rescanFolderForXMLInfo(QModelIndex modelIndex)
1996{
1997 importWidget->setXMLScanLook();
1998 showImportingWidget();
1999
2000 QString currentLibrary = selectedLibrary->currentText();
2001 QString path = libraries.getPath(currentLibrary);
2002 _lastAdded = currentLibrary;
2003
2004 xmlInfoLibraryScanner->scanFolder(path, LibraryPaths::libraryDataPath(path), QDir::cleanPath(currentPath() + foldersModel->getFolderPath(modelIndex)), modelIndex);
2005}
2006
2007void LibraryWindow::cancelCreating()
2008{

Callers

nothing calls this directly

Calls 5

setXMLScanLookMethod · 0.80
currentTextMethod · 0.80
getPathMethod · 0.80
scanFolderMethod · 0.80
getFolderPathMethod · 0.80

Tested by

no test coverage detected