PrintSupport: Layout constructor already uses "this"
Not necessary to call setLayout here. Change-Id: I761215b46ab4f778786e92338906b5ec7515c53d Reviewed-by: David Faure <david.faure@kdab.com>bb10
parent
bd98a52256
commit
89e5492877
|
|
@ -245,7 +245,6 @@ QPrintPropertiesDialog::QPrintPropertiesDialog(QAbstractPrintDialog *parent)
|
|||
{
|
||||
setWindowTitle(tr("Printer Properties"));
|
||||
QVBoxLayout *lay = new QVBoxLayout(this);
|
||||
this->setLayout(lay);
|
||||
QWidget *content = new QWidget(this);
|
||||
widget.setupUi(content);
|
||||
m_buttons = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel, Qt::Horizontal, this);
|
||||
|
|
|
|||
Loading…
Reference in New Issue