summaryrefslogtreecommitdiff
path: root/media-gfx/freecad/files/freecad-1.1.3-fastsignals-disconnect.patch
blob: 19fc0f3455929cc60f93cb2a2a65f290d4c683dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From b9cac43474f6b66175f8f538eee5bc94eba62e74 Mon Sep 17 00:00:00 2001
From: Paul Zander <negril.nx+gentoo@gmail.com>
Date: Mon, 12 Jan 2026 23:27:53 +0100
Subject: [PATCH] fastsignals disconnect

Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>

diff --git a/src/Mod/Cloud/App/AppCloud.cpp b/src/Mod/Cloud/App/AppCloud.cpp
index 87014fccf7..3f616123b3 100644
--- a/src/Mod/Cloud/App/AppCloud.cpp
+++ b/src/Mod/Cloud/App/AppCloud.cpp
@@ -1553,6 +1553,7 @@ bool Cloud::Module::cloudRestore(const char* BucketName)
     string uri;
     uri = this->URL.getStrValue() + ":" + this->TCPPort.getStrValue() + "/" + string(BucketName);
     doc->FileName.setValue(uri);
-    doc->signalLinkXsetValue.disconnect(boost::bind(&Cloud::Module::LinkXSetValue, this, _1));
+    //doc->signalLinkXsetValue.disconnect(boost::bind(&Cloud::Module::LinkXSetValue, this, _1));
+    doc->signalLinkXsetValue.disconnect_all_slots();
     return (true);
 }
-- 
2.52.0