Link share: Move 'delete' button to the bottom #6163

This commit is contained in:
Christian Kamm 2017-11-20 12:42:41 +01:00
Родитель 86c2e9e825
Коммит 14a51458ab
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -158,12 +158,12 @@ ShareLinkWidget::ShareLinkWidget(AccountPtr account,
_linkContextMenu = new QMenu(this);
connect(_linkContextMenu, &QMenu::triggered,
this, &ShareLinkWidget::slotLinkContextMenuActionTriggered);
_deleteLinkAction = _linkContextMenu->addAction(tr("Delete"));
_openLinkAction = _linkContextMenu->addAction(tr("Open link in browser"));
_copyLinkAction = _linkContextMenu->addAction(tr("Copy link to clipboard"));
_copyDirectLinkAction = _linkContextMenu->addAction(tr("Copy link to clipboard (direct download)"));
_emailLinkAction = _linkContextMenu->addAction(tr("Send link by email"));
_emailDirectLinkAction = _linkContextMenu->addAction(tr("Send link by email (direct download)"));
_deleteLinkAction = _linkContextMenu->addAction(tr("Delete"));
/*
* Create the share manager and connect it properly