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

github.com/owncloud/client.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
committerOlivier Goffart <olivier@woboq.com>2017-09-21 15:05:39 +0300
commit35e4fe061d3db7cdb5852bafe290071e5f512e82 (patch)
tree70616738b939f3746155ca0671407b84aaa5dff3 /src/gui/selectivesyncdialog.cpp
parent02924ad83e4a44c381f7c7d9ef1db981e4810d1d (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);