diff options
author | Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com> | 2020-05-20 00:29:59 +0300 |
---|---|---|
committer | Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com> | 2020-05-20 00:29:59 +0300 |
commit | aa13aa533af442ea1f2f202b6b8fe1d46ffe7d34 (patch) | |
tree | d5902c10c344cd665a8bd5ef82b0beef612f1ea3 /src/gui/owncloudgui.cpp | |
parent | fa9dddf567d67255248040d96f17c9372dbe11f6 (diff) |
Removed publiclink param and corresponding if branch.
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
Diffstat (limited to 'src/gui/owncloudgui.cpp')
-rw-r--r-- | src/gui/owncloudgui.cpp | 8 |
1 files 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(); |