Package: postbooks / 4.1.0-3~bpo70+1

05-remove-circular-dependency.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/common/checkForUpdates.cpp b/common/checkForUpdates.cpp
index a5cbac5..529510b 100644
--- a/common/checkForUpdates.cpp
+++ b/common/checkForUpdates.cpp
@@ -84,7 +84,9 @@ suffix = "run";
     _ok->setEnabled(metric.value("allow").toBool());
   }
   else if (versions.lastError().type() != QSqlError::NoError)
-    systemError(this, versions.lastError().text(), __FILE__, __LINE__);
+    // FIXME: This function is from guiclient and creates a circular dependency
+    //systemError(this, versions.lastError().text(), __FILE__, __LINE__);
+    qDebug() << "systemError: " << versions.lastError().text();
   if (DEBUG)
   {
     qDebug() << "serverVersion= " << serverVersion;