Skip to content

KPropertiesDialog: Add ability to hide the terminal section of advanced section in properties dialog

Thenujan Sandramohan requested to merge thenujan/kio:properties_terminal into master

This option cannot be made to work for autostart entries using the Systemd boot because it isn't supported by the xdg-autostart-generator generator, and adding support there is unlikely because it's a deprecated property anyway.

Accordingly, we need a way to conditionally hide the option when it doesn't make sense. So we just add a new value terminalEnabled to the KPropertiesDialog constructor. Even though the constructor of KPropertiesDialog is changed, there shouldn't be any need to port the usage anywhere else as the default value is provided.

CCBUG: 437883

Edited by Nate Graham

Merge request reports

Loading