ui/qt/button.cpp

changeset 68
bd9fb6476b80
parent 66
8d490d97aab8
child 110
36f1581b43e2
--- a/ui/qt/button.cpp	Wed Jan 07 20:11:36 2015 +0100
+++ b/ui/qt/button.cpp	Fri Jan 09 14:33:40 2015 +0100
@@ -32,7 +32,7 @@
 
 UIWIDGET ui_button(UiObject *obj, char *label, ui_callback f, void *data) {
     QString str = QString::fromUtf8(label);
-    QPushButton *button = new QPushButton(label);
+    QPushButton *button = new QPushButton(str);
     
     if(f) {
         UiEventWrapper *event = new UiEventWrapper(obj, f, data);

mercurial