30 lines
1.1 KiB
Diff
30 lines
1.1 KiB
Diff
From 4f01df4db16331c8b0efd021135548507db3da0a Mon Sep 17 00:00:00 2001
|
|
From: Montel Laurent <montel@kde.org>
|
|
Date: Tue, 27 Dec 2016 13:33:15 +0100
|
|
Subject: Fix subscript/unsubscript folder. We need to connect to private slot.
|
|
|
|
it was a bug during porting to new connect api.
|
|
Bug reported by Kevin
|
|
|
|
CCMAIL:
|
|
---
|
|
src/widgets/subscriptiondialog.cpp | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/widgets/subscriptiondialog.cpp b/src/widgets/subscriptiondialog.cpp
|
|
index c922dc4..8ce06b9 100644
|
|
--- a/src/widgets/subscriptiondialog.cpp
|
|
+++ b/src/widgets/subscriptiondialog.cpp
|
|
@@ -223,7 +223,7 @@ void SubscriptionDialog::init(const QStringList &mimetypes)
|
|
mainLayout->addWidget(buttonBox);
|
|
|
|
connect(d->model, SIGNAL(loaded()), SLOT(modelLoaded()));
|
|
- connect(d->mOkButton, &QAbstractButton::clicked, this, &QDialog::done);
|
|
+ connect(d->mOkButton, SIGNAL(clicked(bool)), this, SLOT(done()));
|
|
connect(buttonBox->button(QDialogButtonBox::Cancel), &QPushButton::clicked, this, &SubscriptionDialog::deleteLater);
|
|
ControlGui::widgetNeedsAkonadi(mainWidget);
|
|
d->readConfig();
|
|
--
|
|
cgit v0.11.2
|
|
|