Commit 505bf52f authored by Stefano Crocco's avatar Stefano Crocco
Browse files

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
parent f73183c0
Pipeline #143858 passed with stage
in 2 minutes and 20 seconds
......@@ -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);
......
......@@ -19,7 +19,7 @@ DolphinNavigationConfigModule::DolphinNavigationConfigModule(QWidget *parent, co
KCModule(parent, args),
m_navigation(nullptr)
{
setButtons(KCModule::Default | KCModule::Help);
setButtons(KCModule::Default | KCModule::Help | KCModule::Apply);
QVBoxLayout* topLayout = new QVBoxLayout(this);
topLayout->setContentsMargins(0, 0, 0, 0);
......
......@@ -23,7 +23,7 @@ DolphinViewModesConfigModule::DolphinViewModesConfigModule(QWidget *parent, cons
KCModule(parent, args),
m_tabs()
{
setButtons(KCModule::Default | KCModule::Help);
setButtons(KCModule::Default | KCModule::Help | KCModule::Apply);
QVBoxLayout* topLayout = new QVBoxLayout(this);
topLayout->setContentsMargins(0, 0, 0, 0);
......
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