summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-10-10 19:05:17 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-10-10 19:05:17 (GMT)
commitd0bb6fb5a3b58d04a68deabd8d4431b112c6c084 (patch)
tree0893cc9d19ac677ac92293e0764b0a3fa4c0cafb /Swift/Controllers
parent815af99155f7f59fb4e43d75e271a5061706449b (diff)
downloadswift-d0bb6fb5a3b58d04a68deabd8d4431b112c6c084.zip
swift-d0bb6fb5a3b58d04a68deabd8d4431b112c6c084.tar.bz2
Fix a crash when signing out.
Release-Notes: Don't crash when signing out.
Diffstat (limited to 'Swift/Controllers')
-rw-r--r--Swift/Controllers/EventWindowController.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Swift/Controllers/EventWindowController.cpp b/Swift/Controllers/EventWindowController.cpp
index fcafec9..a8c8f11 100644
--- a/Swift/Controllers/EventWindowController.cpp
+++ b/Swift/Controllers/EventWindowController.cpp
@@ -18,7 +18,8 @@ EventWindowController::EventWindowController(EventController* eventController, E
}
EventWindowController::~EventWindowController() {
- delete window_;
+ // Don't delete this, since Qt owns it
+ //delete window_;
}
void EventWindowController::handleEventQueueEventAdded(boost::shared_ptr<StanzaEvent> event) {