Use enum explicitly constructor as default values

This will avoid problems generating python bindings, shiboken does not
handle well '{}' initialization.
This commit is contained in:
Renato Araujo Oliveira Filho
2020-06-10 12:37:46 -03:00
parent a7878122ac
commit e6a335a3f7
4 changed files with 5 additions and 5 deletions

View File

@@ -86,7 +86,7 @@ public:
* There's no parent argument. The DockWidget is either parented to FloatingWindow or MainWindow
* when visible, or stays without a parent when hidden.
*/
explicit DockWidgetBase(const QString &uniqueName, Options options = {});
explicit DockWidgetBase(const QString &uniqueName, Options options = DockWidgetBase::Options());
///@brief destructor
~DockWidgetBase() override;