[FileItemActionPlugin] Use kdeconnect icon for submenu with multiple devices

It's more recognizable than the generic globe icon

Differential Revision: https://phabricator.kde.org/D11321
This commit is contained in:
Kai Uwe Broulik 2018-03-14 15:16:28 +01:00
parent d813fefbf7
commit 01159b1add

View file

@ -72,7 +72,7 @@ QList<QAction*> SendFileItemAction::actions(const KFileItemListProperties& fileI
}
if (actions.count() > 1) {
QAction* menuAction = new QAction(QIcon::fromTheme(QStringLiteral("preferences-system-network")), i18n("Send via KDE Connect"), parentWidget);
QAction* menuAction = new QAction(QIcon::fromTheme(QStringLiteral("kdeconnect")), i18n("Send via KDE Connect"), parentWidget);
QMenu* menu = new QMenu(parentWidget);
menu->addActions(actions);
menuAction->setMenu(menu);