+
+ // Add the options
+ if (!_binding.properties().empty()) {
+ _form_layout.addRow(new QLabel(tr("<h3>Options</h3>"),
+ &_form));
+ _binding.add_properties_to_form(&_form_layout);
+ }
+}
+
+void Decoder::accept()
+{
+ QDialog::accept();
+ _binding.commit();