diff options
| author | Artur Puzio <[email protected]> | 2016-03-16 22:17:37 +0100 |
|---|---|---|
| committer | Emmanuel Pescosta <[email protected]> | 2016-03-16 22:17:37 +0100 |
| commit | 5593c252e8d9638c86dcc2bb9edd394ea14f8ba1 (patch) | |
| tree | 486e7f04fa43758ab3011d75227e2d9791db4014 /src/panels/places/placesitemeditdialog.cpp | |
| parent | 59811f849ed47982f5cf73e052640bc9f250ad97 (diff) | |
[CLAZY] Fixed all level 1 and level 2 warnings with small exceptions
REVIEW: 126771
Diffstat (limited to 'src/panels/places/placesitemeditdialog.cpp')
| -rw-r--r-- | src/panels/places/placesitemeditdialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/panels/places/placesitemeditdialog.cpp b/src/panels/places/placesitemeditdialog.cpp index d035b0403..7d365310f 100644 --- a/src/panels/places/placesitemeditdialog.cpp +++ b/src/panels/places/placesitemeditdialog.cpp @@ -119,8 +119,8 @@ void PlacesItemEditDialog::initialize() m_okButton = buttonBox->button(QDialogButtonBox::Ok); m_okButton->setDefault(true); m_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, &PlacesItemEditDialog::accept); + connect(buttonBox, &QDialogButtonBox::rejected, this, &PlacesItemEditDialog::reject); setModal(true); m_okButton->setDefault(true); |
