From e3aec0cbf968a92ebc3e434552dc215e0d4e8d2e Mon Sep 17 00:00:00 2001 From: Manuel Schneider Date: Mon, 5 May 2014 14:36:10 +0200 Subject: Resize thumbnail correctly --- src/server/connectionframe/connectionframe.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/server/connectionframe/connectionframe.cpp') diff --git a/src/server/connectionframe/connectionframe.cpp b/src/server/connectionframe/connectionframe.cpp index 1c7eaff..4b3a7dd 100644 --- a/src/server/connectionframe/connectionframe.cpp +++ b/src/server/connectionframe/connectionframe.cpp @@ -125,6 +125,8 @@ QLabel* ConnectionFrame::addIcon(const QIcon* icon) void ConnectionFrame::setSize(int width, int height) { this->resize(width, height); + if (this->_client == NULL) + showDefaultThumb(); } /** -- cgit v1.2.3-55-g7522