summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI')
-rw-r--r--Swift/QtUI/QtFormWidget.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/Swift/QtUI/QtFormWidget.cpp b/Swift/QtUI/QtFormWidget.cpp
index 659fb25..050ff27 100644
--- a/Swift/QtUI/QtFormWidget.cpp
+++ b/Swift/QtUI/QtFormWidget.cpp
@@ -129,9 +129,6 @@ QWidget* QtFormWidget::createWidget(FormField::ref field) {
if (listMultiField) {
widget = createList(field);
}
- boost::shared_ptr<UntypedFormField> untypedField = boost::dynamic_pointer_cast<UntypedFormField>(field);
- if (untypedField) {
- }
boost::shared_ptr<HiddenFormField> hiddenField = boost::dynamic_pointer_cast<HiddenFormField>(field);
if (hiddenField) {
}
@@ -232,9 +229,6 @@ Form::ref QtFormWidget::getCompletedForm() {
}
resultField = FormField::ref(ListMultiFormField::create(values));
}
- boost::shared_ptr<UntypedFormField> untypedField = boost::dynamic_pointer_cast<UntypedFormField>(field);
- if (untypedField) {
- }
boost::shared_ptr<HiddenFormField> hiddenField = boost::dynamic_pointer_cast<HiddenFormField>(field);
if (hiddenField) {
resultField = FormField::ref(HiddenFormField::create(hiddenField->getValue()));