From 883d22be7b927ad39437df4ba897b4aa1855b51b Mon Sep 17 00:00:00 2001 From: shibakaneki Date: Thu, 5 Jan 2012 10:36:09 +0100 Subject: [PATCH] Corrected a problem --- 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 e5647a6c..d92f5cf2 100644 --- a/src/gui/UBTeacherBarWidget.cpp +++ b/src/gui/UBTeacherBarWidget.cpp @@ -311,7 +311,7 @@ UBTeacherStudentAction::UBTeacherStudentAction(QWidget *parent, const char *name mpCombo = new QComboBox(this); mpCombo->addItem(tr("Teacher")); mpCombo->addItem(tr("Student")); - mpComboLayout->addWidget(0); + mpComboLayout->addWidget(mpCombo, 0); mpComboLayout->addStretch(1); mpLayout->addLayout(mpComboLayout, 0);