summaryrefslogtreecommitdiffstats
path: root/src/eventqueue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/eventqueue.cpp')
-rw-r--r--src/eventqueue.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/eventqueue.cpp b/src/eventqueue.cpp
index 774f512..80a5d38 100644
--- a/src/eventqueue.cpp
+++ b/src/eventqueue.cpp
@@ -310,5 +310,7 @@ json_object *EventQueue::toJsonWidgetType(QWidget *widget) const
return json_object_new_string("label");
if (qobject_cast<QMdiSubWindow *>(widget))
return json_object_new_string("midisubwindow");
+ if (qobject_cast<QPushButton *>(widget))
+ return json_object_new_string("pusbutton");
return json_object_new_string("generic");
}