Sure...
In the header:
public:
freesDialog
( QWidget* parent
= NULL );
...
public:
freesDialog( QWidget* parent = NULL );
...
To copy to clipboard, switch view to plain text mode
In the cpp:
freesDialog
::freesDialog( QWidget* parent
){
... do some stuff
}
freesDialog::freesDialog( QWidget* parent )
:QDialog( parent )
{
... do some stuff
}
To copy to clipboard, switch view to plain text mode
Now, when you create the dialog, you can call the constructor without any parameters.
Also, there is no point in filling the table from that empty list in the constructor... So you can remove it...
Regards
Bookmarks