| 1103 | } |
| 1104 | |
| 1105 | void 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 | |
| 1119 | QProgressDialog *LibraryWindow::newProgressDialog(const QString &label, int maxValue) |
| 1120 | { |
nothing calls this directly
no test coverage detected