diff options
author | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2015-10-30 12:35:17 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2015-11-02 10:12:42 +0000 |
commit | b4e6591188160a29ba87580cbf689051b4ee9aaa (patch) | |
tree | 28da4f9b0f876d3cbb59618c6feda58e48138007 /src/plugins/qmlprofiler/qmlprofilerattachdialog.cpp | |
parent | 4b8a14e10fbb68167aac30e40bbeccf02336ba67 (diff) |
QmlProfiler: Convert connections to Qt5 style
Change-Id: I1a490add706cd0cfce3f243e4ebc32a8c9a975c7
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilerattachdialog.cpp')
-rw-r--r-- | src/plugins/qmlprofiler/qmlprofilerattachdialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilerattachdialog.cpp b/src/plugins/qmlprofiler/qmlprofilerattachdialog.cpp index d65ebe7bf02..a3e04a104ba 100644 --- a/src/plugins/qmlprofiler/qmlprofilerattachdialog.cpp +++ b/src/plugins/qmlprofiler/qmlprofilerattachdialog.cpp @@ -77,8 +77,8 @@ QmlProfilerAttachDialog::QmlProfilerAttachDialog(QWidget *parent) : verticalLayout->addLayout(formLayout); verticalLayout->addWidget(buttonBox); - connect(buttonBox, SIGNAL(accepted()), SLOT(accept())); - connect(buttonBox, SIGNAL(rejected()), SLOT(reject())); + connect(buttonBox, &QDialogButtonBox::accepted, this, &QDialog::accept); + connect(buttonBox, &QDialogButtonBox::rejected, this, &QDialog::reject); } QmlProfilerAttachDialog::~QmlProfilerAttachDialog() |