summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-04-10 22:53:13 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-04-10 22:53:13 (GMT)
commitbb372f7a06b0163da7b1f2749e43ba7c8c1c0c5a (patch)
tree0754a2d7ca040aba3932b66fc9236117562d6b32 /Swift/Controllers/RosterController.h
parent995dc5b96429473761ff0a60982f0501cfa6ad6b (diff)
downloadswift-bb372f7a06b0163da7b1f2749e43ba7c8c1c0c5a.zip
swift-bb372f7a06b0163da7b1f2749e43ba7c8c1c0c5a.tar.bz2
Fix two segfaults on signout/signin.
Connections that don't go away when the slot is destroyed. Resolves: #310
Diffstat (limited to 'Swift/Controllers/RosterController.h')
-rw-r--r--Swift/Controllers/RosterController.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Swift/Controllers/RosterController.h b/Swift/Controllers/RosterController.h
index 651c157..32e3be6 100644
--- a/Swift/Controllers/RosterController.h
+++ b/Swift/Controllers/RosterController.h
@@ -70,6 +70,11 @@ namespace Swift {
NickResolver* nickResolver_;
PresenceOracle* presenceOracle_;
EventController* eventController_;
+ boost::bsignals::scoped_connection joinMUCConnection_;
+ boost::bsignals::scoped_connection changeStatusConnection_;
+ boost::bsignals::scoped_connection showOfflineConnection_;
+ boost::bsignals::scoped_connection signOutConnection_;
+ boost::bsignals::scoped_connection uiEventConnection_;
};
}
#endif