Don't show Apply button when it's not in KCModule::buttons().
Details
Details
- Reviewers
sebas - Group Reviewers
Plasma - Commits
- R119:a033fcda01cb: AppletConfiguration: Respect button visibility preference of KCModules
Diff Detail
Diff Detail
- Repository
- R119 Plasma Desktop
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
desktoppackage/contents/configuration/AppletConfiguration.qml | ||
---|---|---|
345 | Isn't there an enum defined for this? The hardcoded int is really ugly and prone to fail. |
desktoppackage/contents/configuration/AppletConfiguration.qml | ||
---|---|---|
345 | I don't think there's an easy way to expose the enum in kcmodule.h to QML easily :/ |
desktoppackage/contents/configuration/AppletConfiguration.qml | ||
---|---|---|
345 | The enum value is defined in KDeclarative::ConfigModule and is only accessible from the QML KCM itself. |