added DeleteOnClose attribute at NameEdit dialog.
This commit is contained in:
parent
833ae63cd4
commit
dc118dec7d
@ -9,7 +9,8 @@ namespace hgl
|
|||||||
namespace dialog
|
namespace dialog
|
||||||
{
|
{
|
||||||
NameEdit::NameEdit(const QString &hint_text,const QString &str)
|
NameEdit::NameEdit(const QString &hint_text,const QString &str)
|
||||||
{
|
{
|
||||||
|
setAttribute(Qt::WA_DeleteOnClose);
|
||||||
setModal(true);
|
setModal(true);
|
||||||
|
|
||||||
QVBoxLayout *layout=new QVBoxLayout(this);
|
QVBoxLayout *layout=new QVBoxLayout(this);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user