From 50062d9d680e01a65672bb055818a007023f3fda Mon Sep 17 00:00:00 2001 From: shibakaneki Date: Thu, 20 Oct 2011 16:54:30 +0200 Subject: [PATCH] Removing a bad piece of code --- src/gui/UBTeacherBarWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/UBTeacherBarWidget.cpp b/src/gui/UBTeacherBarWidget.cpp index 6df5f793..d5eb6688 100644 --- a/src/gui/UBTeacherBarWidget.cpp +++ b/src/gui/UBTeacherBarWidget.cpp @@ -125,7 +125,7 @@ UBTeacherBarWidget::UBTeacherBarWidget(QWidget *parent, const char *name):UBDock connect(mpDuration, SIGNAL(currentIndexChanged(int)), this, SLOT(onValueChanged())); connect(mpEquipment, SIGNAL(textChanged(QString)), this, SLOT(onValueChanged())); connect(mpActivity, SIGNAL(currentIndexChanged(int)), this, SLOT(onValueChanged())); - connect(mpAction1->teacher(), SIGNAL(textChanged()), dynamic_cast(this), SLOT(onValueChanged())); + connect(mpAction1->teacher(), SIGNAL(textChanged()), this, SLOT(onValueChanged())); connect(mpAction1->student(), SIGNAL(textChanged()), this, SLOT(onValueChanged())); connect(mpAction2->teacher(), SIGNAL(textChanged()), this, SLOT(onValueChanged())); connect(mpAction2->student(), SIGNAL(textChanged()), this, SLOT(onValueChanged()));