From aa13aa533af442ea1f2f202b6b8fe1d46ffe7d34 Mon Sep 17 00:00:00 2001 From: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com> Date: Tue, 19 May 2020 23:29:59 +0200 Subject: [PATCH] Removed publiclink param and corresponding if branch. Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com> --- src/gui/owncloudgui.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/gui/owncloudgui.cpp b/src/gui/owncloudgui.cpp index dde22a572..b9cc1e421 100644 --- a/src/gui/owncloudgui.cpp +++ b/src/gui/owncloudgui.cpp @@ -90,12 +90,8 @@ ownCloudGui::ownCloudGui(Application *parent) connect(_tray.data(), &Systray::shutdown, this, &ownCloudGui::slotShutdown); connect(_tray.data(), &Systray::openShareDialog, - this, [=](const QString &sharePath, const QString &localPath, bool publicLink = false) { - if (publicLink) { - slotShowShareDialog(sharePath,localPath, ShareDialogStartPage::PublicLinks); - } else { - slotShowShareDialog(sharePath,localPath, ShareDialogStartPage::UsersAndGroups); - } + this, [=](const QString &sharePath, const QString &localPath) { + slotShowShareDialog(sharePath,localPath, ShareDialogStartPage::UsersAndGroups); }); ProgressDispatcher *pd = ProgressDispatcher::instance(); -- 2.30.2