Commit b5539052 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

Show Vaults action only for local folders

Differential Revision: https://phabricator.kde.org/D20635
parent b0913df8
......@@ -39,7 +39,8 @@ PlasmaVaultFileItemAction::PlasmaVaultFileItemAction(QObject* parent, const QVar
QList<QAction*> PlasmaVaultFileItemAction::actions(const KFileItemListProperties& fileItemInfos, QWidget* parentWidget)
{
if (fileItemInfos.urlList().size() != 1 ||
!fileItemInfos.isDirectory()) return {};
!fileItemInfos.isDirectory() ||
!fileItemInfos.isLocal()) return {};
QList<QAction*> actions;
const QIcon icon = QIcon::fromTheme(QStringLiteral("plasmavault"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment