QTfrontend/pages.cpp
changeset 88 6740a1c4edc9
parent 87 ff213e443336
child 90 b18a6cd6a17c
--- a/QTfrontend/pages.cpp	Wed Jul 26 12:25:48 2006 +0000
+++ b/QTfrontend/pages.cpp	Wed Jul 26 13:44:11 2006 +0000
@@ -40,6 +40,7 @@
 #include <QToolBox>
 #include <QLineEdit>
 #include <QListWidget>
+#include <QApplication>
 
 #include "pages.h"
 #include "sdlkeys.h"
@@ -184,7 +185,7 @@
 	{
 		LBind[i] = new QLabel(BindsBox->widget(widind));
 		LBind[i]->setGeometry(QRect(10, top + 3, 70, 20));
-		LBind[i]->setText(tr(cbinds[i].name));
+		LBind[i]->setText(QApplication::translate("binds", cbinds[i].name));
 		LBind[i]->setAlignment(Qt::AlignRight);
 		CBBind[i] = new QComboBox(BindsBox->widget(widind));
 		CBBind[i]->setGeometry(QRect(90, top, 80, 20));