Don't show "Open With" menu items for empty directories

Authored by ngraham on Apr 8 2019, 10:03 PM.

Description

Don't show "Open With" menu items for empty directories

Summary:
Any app that registers itself as able to open directories generally can't do anything
useful with an empty directory. So, don't show the Open With menu items for them.

Test Plan:
Before:

After:

The Open With items still appear for non-empty directories.

Reviewers: Dolphin, elvisangelaccio

Reviewed By: Dolphin, elvisangelaccio

Subscribers: trmdi, kfm-devel

Tags: Dolphin

Differential Revision: https://phabricator.kde.org/D20396

Details

Committed
ngrahamApr 10 2019, 2:19 AM
Reviewer
Dolphin
Differential Revision
D20396: Don't show "Open With" menu items for empty directories
Parents
R318:dbc5e57192b4: GIT_SILENT Upgrade KDE Applications version to 19.04.0.
Branches
Unknown
Tags
Unknown
References
tag: v19.04.0