Commit 50c6b52a authored by Laurent Montel's avatar Laurent Montel 😁

Use parent directly

parent bb365243
......@@ -49,8 +49,7 @@ FontDialog::FontDialog( QWidget *parent )
{
setModal( true );
setWindowTitle( i18n( "Font Configuration" ) );
QVBoxLayout *mainLayout = new QVBoxLayout;
setLayout(mainLayout);
QVBoxLayout *mainLayout = new QVBoxLayout(this);
setupFontSizesBox();
setupFontTypesBox();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment