Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2017-09-20 12:48:13 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2017-10-05 23:01:35 +0300
commit0ad05aee0dd47a4355f3bdaab2cec7fd0bac9cb3 (patch)
tree96110bd1b7894bd65b096c19144d52447733a10d /src/gui/selectivesyncdialog.cpp
parent190f821d93a2aa23ab8ae3046b35eda89883c425 (diff)
Port to new signal-slot syntax what cannot be done automatically
Some slot were protected or private but needed to be public. Some needed a static_cast (can't use qOverload because it is in Qt 5.7) This is not only a partial change.
Diffstat (limited to 'src/gui/selectivesyncdialog.cpp')
-rw-r--r--src/gui/selectivesyncdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/selectivesyncdialog.cpp b/src/gui/selectivesyncdialog.cpp
index 1457967f7..87d2bdc22 100644
--- a/src/gui/selectivesyncdialog.cpp
+++ b/src/gui/selectivesyncdialog.cpp
@@ -460,7 +460,7 @@ void SelectiveSyncDialog::init(const AccountPtr &account)
layout->addWidget(_selectiveSync);
QDialogButtonBox *buttonBox = new QDialogButtonBox(Qt::Horizontal);
_okButton = buttonBox->addButton(QDialogButtonBox::Ok);
- connect(_okButton, SIGNAL(clicked()), this, SLOT(accept()));
+ connect(_okButton, &QPushButton::clicked, this, &SelectiveSyncDialog::accept);
QPushButton *button;
button = buttonBox->addButton(QDialogButtonBox::Cancel);
connect(button, &QAbstractButton::clicked, this, &QDialog::reject);