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

Method updateFolder

YACReaderLibrary/library_window.cpp:1105–1117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1103}
1104
1105void LibraryWindow::updateFolder(const QModelIndex &miFolder)
1106{
1107 QLOG_DEBUG() << "UPDATE FOLDER!!!!";
1108
1109 importWidget->setUpdateLook();
1110 showImportingWidget();
1111
1112 QString currentLibrary = selectedLibrary->currentText();
1113 QString path = QDir::cleanPath(libraries.getPath(currentLibrary));
1114 _lastAdded = currentLibrary;
1115 libraryCreator->updateFolder(path, LibraryPaths::libraryDataPath(path), QDir::cleanPath(currentPath() + foldersModel->getFolderPath(miFolder)), miFolder.data(FolderModel::IdRole).toULongLong());
1116 libraryCreator->start();
1117}
1118
1119QProgressDialog *LibraryWindow::newProgressDialog(const QString &label, int maxValue)
1120{

Callers

nothing calls this directly

Calls 6

setUpdateLookMethod · 0.80
currentTextMethod · 0.80
getPathMethod · 0.80
getFolderPathMethod · 0.80
startMethod · 0.80
dataMethod · 0.45

Tested by

no test coverage detected