Commit c1e60e55 authored by Laurent Montel's avatar Laurent Montel 😁

Minor

parent 786ec885
......@@ -24,8 +24,7 @@ EditDrawingToolDialog::EditDrawingToolDialog( const QDomElement &initialState, Q
{
QDialogButtonBox *buttonBox = new QDialogButtonBox( QDialogButtonBox::Ok | QDialogButtonBox::Cancel );
buttonBox->setObjectName( QStringLiteral("buttonbox") );
QVBoxLayout *mainLayout = new QVBoxLayout;
setLayout(mainLayout);
QVBoxLayout *mainLayout = new QVBoxLayout(this);
QPushButton *okButton = buttonBox->button( QDialogButtonBox::Ok );
okButton->setDefault( true );
......
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