From: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com> Date: Tue, 19 May 2020 21:29:59 +0000 (+0200) Subject: Removed publiclink param and corresponding if branch. X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~222^2^2~198^2~7 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=aa13aa533af442ea1f2f202b6b8fe1d46ffe7d34;p=nextcloud-desktop.git Removed publiclink param and corresponding if branch. Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com> --- 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();