summaryrefslogtreecommitdiffstats
path: root/src/server/connectionframe/connectionframe.cpp
diff options
context:
space:
mode:
authorChristian Klinger2016-05-20 11:59:43 +0200
committerChristian Klinger2016-05-20 11:59:43 +0200
commit39938efd6c437391ddfaadfb9c4dbe4f08c54556 (patch)
tree82f7357a858d9269bf4b8b83c5e259f3b8fb24d2 /src/server/connectionframe/connectionframe.cpp
parentadded --manager-only (and removed the ipList-feature) (diff)
downloadpvs2-39938efd6c437391ddfaadfb9c4dbe4f08c54556.tar.gz
pvs2-39938efd6c437391ddfaadfb9c4dbe4f08c54556.tar.xz
pvs2-39938efd6c437391ddfaadfb9c4dbe4f08c54556.zip
added feature tutorIP.
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());