mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-21 09:20:13 +00:00
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
This commit is contained in:
parent
f73183c0f6
commit
505bf52f59
|
@ -23,7 +23,7 @@ DolphinGeneralConfigModule::DolphinGeneralConfigModule(QWidget *parent, const QV
|
||||||
KCModule(parent, args),
|
KCModule(parent, args),
|
||||||
m_pages()
|
m_pages()
|
||||||
{
|
{
|
||||||
setButtons(KCModule::Default | KCModule::Help);
|
setButtons(KCModule::Default | KCModule::Help | KCModule::Apply);
|
||||||
|
|
||||||
QVBoxLayout* topLayout = new QVBoxLayout(this);
|
QVBoxLayout* topLayout = new QVBoxLayout(this);
|
||||||
topLayout->setContentsMargins(0, 0, 0, 0);
|
topLayout->setContentsMargins(0, 0, 0, 0);
|
||||||
|
|
|
@ -19,7 +19,7 @@ DolphinNavigationConfigModule::DolphinNavigationConfigModule(QWidget *parent, co
|
||||||
KCModule(parent, args),
|
KCModule(parent, args),
|
||||||
m_navigation(nullptr)
|
m_navigation(nullptr)
|
||||||
{
|
{
|
||||||
setButtons(KCModule::Default | KCModule::Help);
|
setButtons(KCModule::Default | KCModule::Help | KCModule::Apply);
|
||||||
|
|
||||||
QVBoxLayout* topLayout = new QVBoxLayout(this);
|
QVBoxLayout* topLayout = new QVBoxLayout(this);
|
||||||
topLayout->setContentsMargins(0, 0, 0, 0);
|
topLayout->setContentsMargins(0, 0, 0, 0);
|
||||||
|
|
|
@ -23,7 +23,7 @@ DolphinViewModesConfigModule::DolphinViewModesConfigModule(QWidget *parent, cons
|
||||||
KCModule(parent, args),
|
KCModule(parent, args),
|
||||||
m_tabs()
|
m_tabs()
|
||||||
{
|
{
|
||||||
setButtons(KCModule::Default | KCModule::Help);
|
setButtons(KCModule::Default | KCModule::Help | KCModule::Apply);
|
||||||
|
|
||||||
QVBoxLayout* topLayout = new QVBoxLayout(this);
|
QVBoxLayout* topLayout = new QVBoxLayout(this);
|
||||||
topLayout->setContentsMargins(0, 0, 0, 0);
|
topLayout->setContentsMargins(0, 0, 0, 0);
|
||||||
|
|
Loading…
Reference in a new issue