CCBUG: 390527
Like D10558: Also use standard keyboard shortcut for "show/hide hidden files", but for the file dialogs too, to maintain consistency.
elvisangelaccio | |
markg |
Frameworks | |
Dolphin |
CCBUG: 390527
Like D10558: Also use standard keyboard shortcut for "show/hide hidden files", but for the file dialogs too, to maintain consistency.
Tested with Open and Save dialogs in Kate. New and old shortcuts all worked and correctly triggered showing and hiding hidden files
No Linters Available |
No Unit Test Coverage |
Fine by me.
I do wonder why it used to be in an if statement though. It would have added a nullptr if the "if (showHidden)" check failed (which would fail when it's a nullptr).
The file dialog uses two different methods of setting shortcuts. Most are set in kdiroperator.cpp, but only few are set in kfilewidget.cpp I suspect legacy code, and it seems sensible to use the more standard, consistent style whenever possible.