sincnarf
22nd October 2007, 01:02
Hello!
I created a custom dialog and here's how I use it.
IADFUQParameterDialog dialog = new IADFUQParameterDialog(this);
but on compile has the error
mainwindow.cpp:2222: error: initializing temporary from result of 'IADFUQParameterDialog::IADFUQParameterDialog(QWid get*)'
so I try to use this instead
IADFUQParameterDialog dialog(this); dialog.show();
and there's no error. But the dialog shows only when I call a message box
I created a custom dialog and here's how I use it.
IADFUQParameterDialog dialog = new IADFUQParameterDialog(this);
but on compile has the error
mainwindow.cpp:2222: error: initializing temporary from result of 'IADFUQParameterDialog::IADFUQParameterDialog(QWid get*)'
so I try to use this instead
IADFUQParameterDialog dialog(this); dialog.show();
and there's no error. But the dialog shows only when I call a message box