]> cloud.milkyroute.net Git - dolphin.git/commit
Don't show "Open With" menu items for empty directories
authorNate Graham <nate@kde.org>
Mon, 8 Apr 2019 22:03:48 +0000 (16:03 -0600)
committerNate Graham <nate@kde.org>
Wed, 10 Apr 2019 02:19:17 +0000 (20:19 -0600)
commit14f0cd52f61de7539e2d9c751966594708ed0281
tree52cb7a6b23c852c22e37221a41850c497acfd9ae
parentdbc5e57192b48da80846044c6432b1397dbcc154
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 {nav Open With} menu items for them.

Test Plan:
Before: {F6759793}

After: {F6759794}

The {nav 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
src/dolphincontextmenu.cpp