┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/kitemviews/kitemlistcontroller.cpp
diff options
context:
space:
mode:
authorJin Liu <[email protected]>2024-04-03 12:34:50 +0000
committerMéven Car <[email protected]>2024-04-03 12:34:50 +0000
commit7d49cb567b595570f59156965332428c9490a04d (patch)
treef2a9bf6334aa299cc50f30b2f1fc96811f7ceb1a /src/kitemviews/kitemlistcontroller.cpp
parente75bfea1cb9f6b4cab4334e29bb9d29bb09711ba (diff)
DolphinMainWindow: show a banner when the user presses the shortcut of a disabled action
Currently, there's no feedback when the user presses a shortcut of a disabled action, e.g. cut / paste in a read-only directory. This patch shows a banner in that case. It's implemented by enabling a QShortcut for each disabled action. the QShortcut is deleted when the action is enabled again. The following actions are included: cut paste rename moveToTrash deleteWithTrashShortcut deleted createDir copyToOtherView moveToOtherView
Diffstat (limited to 'src/kitemviews/kitemlistcontroller.cpp')
0 files changed, 0 insertions, 0 deletions