aboutsummaryrefslogtreecommitdiffstats
path: root/cad/fritzing/files/patch-src_fapplication.cpp
diff options
context:
space:
mode:
authorLexi Winter <ivy@FreeBSD.org>2025-12-01 03:19:41 +0000
committerLexi Winter <ivy@FreeBSD.org>2025-12-01 03:19:41 +0000
commit2e80774d0b20d167bc0a9e2b63dafbfb171c0d22 (patch)
tree25f0138e1af8902b92dacc8cce09b267447c17db /cad/fritzing/files/patch-src_fapplication.cpp
parentf85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (diff)
parent1a30da80670973368b399f2b01fe9c04b91a1273 (diff)
Merge remote-tracking branch 'freebsd/main' into lf/mainlf/main
Diffstat (limited to 'cad/fritzing/files/patch-src_fapplication.cpp')
-rw-r--r--cad/fritzing/files/patch-src_fapplication.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/cad/fritzing/files/patch-src_fapplication.cpp b/cad/fritzing/files/patch-src_fapplication.cpp
new file mode 100644
index 000000000000..862bb95c5307
--- /dev/null
+++ b/cad/fritzing/files/patch-src_fapplication.cpp
@@ -0,0 +1,23 @@
+--- src/fapplication.cpp.orig 2025-04-02 10:33:24 UTC
++++ src/fapplication.cpp
+@@ -895,19 +895,7 @@ bool FApplication::loadReferenceModel(const QString &
+
+ QFileInfo info(dbPath);
+ bool dbExists = (info.size() > 0) && !fullLoad;
+-
+- QString sha;
+- if (!dbExists) {
+- // fullLoad == true means we are creating the parts database
+- // so get the sha for last commit of the parts folder and store it in the database
+- // this sha will be used to determine whether the user's parts folder can be updated from the remote repo
+- sha = PartsChecker::getSha(dir.absolutePath());
+- if (sha.isEmpty()) {
+- DebugDialog::debug(QString("1.6 SHA empty"));
+- return false;
+- }
+- referenceModel->setSha(sha);
+- }
++ referenceModel->setSha("");
+
+ // loads local parts, resource parts, and any other parts in files not in the db--these part override db parts with the same moduleID
+ QString db = databaseName;