Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit cc8545f9 authored by David Edmundson's avatar David Edmundson

Add help button to KCMs where it was missing

Summary: BUG: 401932

Test Plan: Opened each

Reviewers: #plasma

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D17458
parent 6385b043
......@@ -442,7 +442,7 @@ KFonts::KFonts(QObject *parent, const QVariantList &args)
about->addAuthor(i18n("Antonis Tsiapaliokas"), QString(), "antonis.tsiapaliokas@kde.org");
setAboutData(about);
qmlRegisterType<QStandardItemModel>();
setButtons(Apply | Default);
setButtons(Apply | Default | Help);
auto updateState = [this]() {
setNeedsSave(m_fontAASettings->needsSave());
......
......@@ -26,6 +26,7 @@ SimpleKCM {
id: root
ConfigModule.quickHelp: i18n("Launch Feedback")
ConfigModule.buttons: ConfigModule.Help | ConfigModule.Defaults | ConfigModule.Apply
function applyBusyCursorCurrentIndex() {
if (kcm.busyCursorCurrentIndex == 0) {
......
......@@ -29,6 +29,7 @@ ScrollViewKCM {
id: root
ConfigModule.quickHelp: i18n("Language")
ConfigModule.buttons: ConfigModule.Help | ConfigModule.Defaults | ConfigModule.Apply
Component {
id: addLanguageItemComponent
......
......@@ -19,13 +19,15 @@ import QtQuick 2.7
import QtQuick.Controls 2.4 as Controls
import QtQuick.Layouts 1.3 as Layouts
import org.kde.kirigami 2.4 as Kirigami
import org.kde.kcm 1.1 as KCM
import org.kde.kcm 1.2 as KCM
import org.kde.plasma.core 2.0 as PlasmaCore
KCM.SimpleKCM {
id: root
KCM.ConfigModule.buttons: KCM.ConfigModule.Help | KCM.ConfigModule.Defaults | KCM.ConfigModule.Apply
Kirigami.FormLayout {
id: formLayout
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment