Fixed function call typo

This commit is contained in:
Sebastian Lohff 2013-11-07 01:20:34 +01:00
parent 7d79d47cc3
commit 9d1cae38b5
1 changed files with 3 additions and 2 deletions

View File

@ -32,9 +32,10 @@ class QuestionWindow(QtGui.QDialog):
qlabel = None qlabel = None
if self.question["Type"] == "Text": if self.question["Type"] == "Text":
qlabel = self.mkQuestionLabel(self.question["Question"]) qlabel = self._mkQuestionLabel(self.question["Question"])
print(self.question["Question"])
elif self.question["Type"] == "Music": elif self.question["Type"] == "Music":
qlabel = self.mkQuestionLabel("Listen...") qlabel = self._mkQuestionLabel("Listen...")
elif self.question["Type"] == "Image": elif self.question["Type"] == "Image":
qlabel = QtGui.QLabel() qlabel = QtGui.QLabel()
pixmap = QtGui.QPixmap() pixmap = QtGui.QPixmap()