BUG: 385158
Use edit-delete icon for buttons that execute destructive discard actions. This is what Upstream Qt originally had, but we were overriding it to use a less-appropriate icon (edit-clear)
dfaure | |
rkflx | |
davidedmundson | |
cfeck |
Frameworks | |
VDG |
BUG: 385158
Use edit-delete icon for buttons that execute destructive discard actions. This is what Upstream Qt originally had, but we were overriding it to use a less-appropriate icon (edit-clear)
Tested in KDE Neon. An example of the change can be seen in Spectacle's main window:
No Linters Available |
No Unit Test Coverage |
I think it's important that KStandardGuiItem::discard matches QDialogButtonBox::Discard
You've cited what Qt does, but we override it in kstyle.cpp:374 with dialog-cancel
If we go with this (and I really don't object) we should adjust KStyle too.