Fixed #36: harding against destruction of object inside event handler

Plus: declare the form builder to return a new
widget object (the way it is).
This commit is contained in:
Matthias Koefferlein
2017-12-16 01:45:35 +01:00
parent 6e14460334
commit ad741d0eb7
5 changed files with 21 additions and 8 deletions
+2
View File
@@ -1418,6 +1418,8 @@ drop_class "QSqlDriverPlugin" # not required ?
drop_method "QFormBuilder", /QFormBuilder::customWidgets\(\s*\)/ # Requires QDesignerCustomWidgetInterface which is not (yet) available
return_new "QAbstractFormBuilder", /::load/ # returns a free object
no_copy_ctor "QAbstractFormBuilder"
no_copy_ctor "QFormBuilder"
+2
View File
@@ -1602,6 +1602,8 @@ drop_class "QSqlDriverPlugin" # not required ?
drop_method "QFormBuilder", /QFormBuilder::customWidgets\(\s*\)/ # Requires QDesignerCustomWidgetInterface which is not (yet) available
return_new "QAbstractFormBuilder", /::load/ # returns a free object
no_copy_ctor "QAbstractFormBuilder"
no_copy_ctor "QFormBuilder"