From c8c9a5dc65c184f0c0acdc19411b4e7efc39fb99 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Fri, 29 Sep 2017 12:44:39 -0700 Subject: [Facebook] conversion to new connect syntax Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- desktop-widgets/plugins/facebook/facebookconnectwidget.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'desktop-widgets/plugins/facebook/facebookconnectwidget.cpp') diff --git a/desktop-widgets/plugins/facebook/facebookconnectwidget.cpp b/desktop-widgets/plugins/facebook/facebookconnectwidget.cpp index f53786a2f..6ed02832b 100644 --- a/desktop-widgets/plugins/facebook/facebookconnectwidget.cpp +++ b/desktop-widgets/plugins/facebook/facebookconnectwidget.cpp @@ -282,13 +282,13 @@ SocialNetworkDialog::SocialNetworkDialog(QWidget *parent) : { ui->setupUi(this); ui->buttonBox->button(QDialogButtonBox::Ok)->setEnabled(false); - connect(ui->date, SIGNAL(clicked()), this, SLOT(selectionChanged())); - connect(ui->duration, SIGNAL(clicked()), this, SLOT(selectionChanged())); - connect(ui->Buddy, SIGNAL(clicked()), this, SLOT(selectionChanged())); - connect(ui->Divemaster, SIGNAL(clicked()), this, SLOT(selectionChanged())); - connect(ui->Location, SIGNAL(clicked()), this, SLOT(selectionChanged())); - connect(ui->Notes, SIGNAL(clicked()), this, SLOT(selectionChanged())); - connect(ui->album, SIGNAL(textChanged(QString)), this, SLOT(albumChanged())); + connect(ui->date, &QCheckBox::clicked, this, &SocialNetworkDialog::selectionChanged); + connect(ui->duration, &QCheckBox::clicked, this, &SocialNetworkDialog::selectionChanged); + connect(ui->Buddy, &QCheckBox::clicked, this, &SocialNetworkDialog::selectionChanged); + connect(ui->Divemaster, &QCheckBox::clicked, this, &SocialNetworkDialog::selectionChanged); + connect(ui->Location, &QCheckBox::clicked, this, &SocialNetworkDialog::selectionChanged); + connect(ui->Notes, &QCheckBox::clicked, this, &SocialNetworkDialog::selectionChanged); + connect(ui->album, &QLineEdit::editingFinished, this, &SocialNetworkDialog::albumChanged); } void SocialNetworkDialog::albumChanged() -- cgit v1.2.3-70-g09d2