Commit c45b5cf2 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Port to new connect api

parent 96894996
......@@ -47,8 +47,8 @@ WorkSheetSettings::WorkSheetSettings( QWidget* parent, bool locked )
QPushButton *okButton = buttonBox->button(QDialogButtonBox::Ok);
okButton->setShortcut(Qt::CTRL | Qt::Key_Return);
connect(buttonBox, SIGNAL(accepted()), this, SLOT(accept()));
connect(buttonBox, SIGNAL(rejected()), this, SLOT(reject()));
connect(buttonBox, &QDialogButtonBox::accepted, this, &WorkSheetSettings::accept);
connect(buttonBox, &QDialogButtonBox::rejected, this, &WorkSheetSettings::reject);
QWidget *page = new QWidget( this );
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