blob: 570939bce680a0974b98c06f8cc83d6b9b877da0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
--- src/fapplication.cpp.orig 2025-10-07 13:46:45 UTC
+++ src/fapplication.cpp
@@ -897,19 +897,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;
|