From 505bf52f593a88a07925b0dbba7568535933fd23 Mon Sep 17 00:00:00 2001 From: Stefano Crocco Date: Tue, 1 Mar 2022 11:59:42 +0100 Subject: Display Apply button in KCMs When displaying the KCMs in another application's configuration dialog (for example, in Konqueror), the Apply, Ok and Reset buttons aren't shown. This issue is caused by a missing Apply flag in the call to setButtons in the KCModule constructor. the fact that in the call to setButtons from the KCModule constructor, the Apply flag is missing. BUG: 448352 --- src/settings/kcm/kcmdolphingeneral.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/settings/kcm/kcmdolphingeneral.cpp') diff --git a/src/settings/kcm/kcmdolphingeneral.cpp b/src/settings/kcm/kcmdolphingeneral.cpp index 15419b234..5e38c2409 100644 --- a/src/settings/kcm/kcmdolphingeneral.cpp +++ b/src/settings/kcm/kcmdolphingeneral.cpp @@ -23,7 +23,7 @@ DolphinGeneralConfigModule::DolphinGeneralConfigModule(QWidget *parent, const QV KCModule(parent, args), m_pages() { - setButtons(KCModule::Default | KCModule::Help); + setButtons(KCModule::Default | KCModule::Help | KCModule::Apply); QVBoxLayout* topLayout = new QVBoxLayout(this); topLayout->setContentsMargins(0, 0, 0, 0); -- cgit v1.3