summaryrefslogtreecommitdiffstats
path: root/src/gui/connectionFrame.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/connectionFrame.cpp')
-rw-r--r--src/gui/connectionFrame.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/connectionFrame.cpp b/src/gui/connectionFrame.cpp
index 32e20f7..f927706 100644
--- a/src/gui/connectionFrame.cpp
+++ b/src/gui/connectionFrame.cpp
@@ -490,6 +490,11 @@ void ConnectionFrame::setDozent(bool isDozent)
_dozentContaimner->setDisabled(true);
}
+bool ConnectionFrame::isDozent()
+{
+ return _dozentContaimner->isEnabled();
+}
+
void ConnectionFrame::on_click()
{
//std::cout << "HALLO! WAS?" << std::endl;