summaryrefslogtreecommitdiffstats
path: root/src/server/connectionframe/connectionframe.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/connectionframe/connectionframe.cpp')
-rw-r--r--src/server/connectionframe/connectionframe.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/server/connectionframe/connectionframe.cpp b/src/server/connectionframe/connectionframe.cpp
index d979798..68160b5 100644
--- a/src/server/connectionframe/connectionframe.cpp
+++ b/src/server/connectionframe/connectionframe.cpp
@@ -326,12 +326,16 @@ void ConnectionFrame::updateAppearance()
if (_client == NULL)
{
// Unconnected Frame
- if (_isSelected)
+ if (_isSelected) {
this->setStyleSheet(style_selectedStudent);
- else
+ } else if (_isTutor) {
+ this->setStyleSheet(style_tutor);
+ }else {
this->setStyleSheet(style_disconnected);
- for (QList<QLabel*>::iterator it(_icons.begin()); it != _icons.end(); ++it)
+ }
+ for (QList<QLabel*>::iterator it(_icons.begin()); it != _icons.end(); ++it) {
(**it).hide();
+ }
return;
}
_icoCam->setVisible(_client->isActiveVncServer());