From badab5545b2f51c5692fd03e5b3a657678880a66 Mon Sep 17 00:00:00 2001 From: Björn Hagemeister Date: Tue, 17 Jun 2014 15:05:28 +0200 Subject: Delete connected clients and connectionFrames after sessionName has changed. Surround camera and eye icon with borderline for better contrast on frames. --- src/server/connectionframe/connectionframe.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/server/connectionframe') diff --git a/src/server/connectionframe/connectionframe.cpp b/src/server/connectionframe/connectionframe.cpp index caf99fc..dbe408c 100644 --- a/src/server/connectionframe/connectionframe.cpp +++ b/src/server/connectionframe/connectionframe.cpp @@ -101,7 +101,11 @@ ConnectionFrame::ConnectionFrame(QWidget *parent, int width, int height) : ConnectionFrame::~ConnectionFrame() { - // + if (_client != NULL) + { + _client->deleteLater(); + } + _iconLayout->deleteLater(); } /** -- cgit v1.2.3-55-g7522