diff options
-rw-r--r-- | src/server/connectionframe/connectionframe.cpp | 2 | ||||
-rw-r--r-- | src/server/connectionframe/connectionframe.h | 1 |
2 files changed, 3 insertions, 0 deletions
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(); } /** diff --git a/src/server/connectionframe/connectionframe.h b/src/server/connectionframe/connectionframe.h index 1f39b79..3477721 100644 --- a/src/server/connectionframe/connectionframe.h +++ b/src/server/connectionframe/connectionframe.h @@ -41,6 +41,7 @@ private: void updateAppearance(); QLabel* addIcon(const QIcon* icon); + // Static stylesheets static const QString studentLblStyle, studentBgStyle; static const QString tutorLblStyle, tutorBgStyle; static const QString selectedBgStyle; |