[kcmtabbox] Adjust to new API
* no componentData() * no insertCatalog()
This commit is contained in:
parent
a560147d70
commit
5c23434b6d
1 changed files with 1 additions and 2 deletions
|
@ -57,11 +57,10 @@ KWinTabBoxConfigForm::KWinTabBoxConfigForm(QWidget* parent)
|
|||
}
|
||||
|
||||
KWinTabBoxConfig::KWinTabBoxConfig(QWidget* parent, const QVariantList& args)
|
||||
: KCModule(KWinTabBoxConfigFactory::componentData(), parent, args)
|
||||
: KCModule(parent, args)
|
||||
, m_config(KSharedConfig::openConfig("kwinrc"))
|
||||
, m_layoutPreview(NULL)
|
||||
{
|
||||
KGlobal::locale()->insertCatalog("kwin_effects");
|
||||
KTabWidget* tabWidget = new KTabWidget(this);
|
||||
m_primaryTabBoxUi = new KWinTabBoxConfigForm(tabWidget);
|
||||
m_alternativeTabBoxUi = new KWinTabBoxConfigForm(tabWidget);
|
||||
|
|
Loading…
Reference in a new issue