Path: blob/main/cad/fritzing/files/patch-src_fapplication.cpp
19260 views
--- src/fapplication.cpp.orig 2025-04-02 10:33:24 UTC1+++ src/fapplication.cpp2@@ -895,19 +895,7 @@ bool FApplication::loadReferenceModel(const QString &34QFileInfo info(dbPath);5bool dbExists = (info.size() > 0) && !fullLoad;6-7- QString sha;8- if (!dbExists) {9- // fullLoad == true means we are creating the parts database10- // so get the sha for last commit of the parts folder and store it in the database11- // this sha will be used to determine whether the user's parts folder can be updated from the remote repo12- sha = PartsChecker::getSha(dir.absolutePath());13- if (sha.isEmpty()) {14- DebugDialog::debug(QString("1.6 SHA empty"));15- return false;16- }17- referenceModel->setSha(sha);18- }19+ referenceModel->setSha("");2021// loads local parts, resource parts, and any other parts in files not in the db--these part override db parts with the same moduleID22QString db = databaseName;232425