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:
authorChristian Kamm <mail@ckamm.de>2018-01-22 12:52:25 +0300
committerckamm <mail@ckamm.de>2018-01-23 14:01:22 +0300
commit497b327d438b04da4c998e0663a98f4a7f5d2054 (patch)
tree8872af640f471789ca57af96df9f9effccb543c6 /src/gui/sharelinkwidget.cpp
parentd831369f86ffd1782113869eba3970e4cdfb4f8c (diff)
ShareLinkWidget: Remove outdated signal connection
Also convert the others to the new syntax to avoid similar errors in the future.
Diffstat (limited to 'src/gui/sharelinkwidget.cpp')
-rw-r--r--src/gui/sharelinkwidget.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gui/sharelinkwidget.cpp b/src/gui/sharelinkwidget.cpp
index 938f6b7ee..c94f37601 100644
--- a/src/gui/sharelinkwidget.cpp
+++ b/src/gui/sharelinkwidget.cpp
@@ -223,11 +223,10 @@ void ShareLinkWidget::slotSharesFetched(const QList<QSharedPointer<Share>> &shar
// Connect all shares signals to gui slots
connect(share.data(), &Share::serverError, this, &ShareLinkWidget::slotServerError);
connect(share.data(), &Share::shareDeleted, this, &ShareLinkWidget::slotDeleteShareFetched);
- connect(share.data(), SIGNAL(expireDateSet()), SLOT(slotExpireSet()));
- connect(share.data(), SIGNAL(publicUploadSet()), SLOT(slotPermissionsSet()));
- connect(share.data(), SIGNAL(passwordSet()), SLOT(slotPasswordSet()));
- connect(share.data(), SIGNAL(passwordSetError(int, QString)), SLOT(slotPasswordSetError(int, QString)));
connect(share.data(), &Share::permissionsSet, this, &ShareLinkWidget::slotPermissionsSet);
+ connect(linkShare.data(), &LinkShare::expireDateSet, this, &ShareLinkWidget::slotExpireSet);
+ connect(linkShare.data(), &LinkShare::passwordSet, this, &ShareLinkWidget::slotPasswordSet);
+ connect(linkShare.data(), &LinkShare::passwordSetError, this, &ShareLinkWidget::slotPasswordSetError);
// Build the table row
auto row = table->rowCount();