Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/cad/fritzing/files/patch-src_fapplication.cpp
19260 views
1
--- src/fapplication.cpp.orig 2025-04-02 10:33:24 UTC
2
+++ src/fapplication.cpp
3
@@ -895,19 +895,7 @@ bool FApplication::loadReferenceModel(const QString &
4
5
QFileInfo info(dbPath);
6
bool dbExists = (info.size() > 0) && !fullLoad;
7
-
8
- QString sha;
9
- if (!dbExists) {
10
- // fullLoad == true means we are creating the parts database
11
- // so get the sha for last commit of the parts folder and store it in the database
12
- // this sha will be used to determine whether the user's parts folder can be updated from the remote repo
13
- sha = PartsChecker::getSha(dir.absolutePath());
14
- if (sha.isEmpty()) {
15
- DebugDialog::debug(QString("1.6 SHA empty"));
16
- return false;
17
- }
18
- referenceModel->setSha(sha);
19
- }
20
+ referenceModel->setSha("");
21
22
// loads local parts, resource parts, and any other parts in files not in the db--these part override db parts with the same moduleID
23
QString db = databaseName;
24
25