diff --git a/conf/dlgidentity.cpp b/conf/dlgidentity.cpp index 6e654d490..8585716c1 100644 --- a/conf/dlgidentity.cpp +++ b/conf/dlgidentity.cpp @@ -14,6 +14,6 @@ DlgIdentity::DlgIdentity( QWidget * parent ) : QWidget( parent ) { - Ui_DlgIdentityBase *dlg = new Ui_DlgIdentityBase(); - dlg->setupUi( this ); + Ui_DlgIdentityBase dlg; + dlg.setupUi( this ); }