Fix effect config dialog i18n when launched from the window switch KCM.

BUG: 208788

svn path=/trunk/KDE/kdebase/workspace/; revision=1029686
This commit is contained in:
Lucas Murray 2009-09-30 14:32:34 +00:00
parent bd52c92b98
commit 6f2ef45a48

View file

@ -56,6 +56,7 @@ KWinTabBoxConfig::KWinTabBoxConfig( QWidget* parent, const QVariantList& args )
: KCModule( KWinTabBoxConfigFactory::componentData(), parent, args )
, m_config( KSharedConfig::openConfig( "kwinrc" ))
{
KGlobal::locale()->insertCatalog( "kwin_effects" );
KTabWidget* tabWidget = new KTabWidget( this );
m_primaryTabBoxUi = new KWinTabBoxConfigForm( tabWidget );
m_alternativeTabBoxUi = new KWinTabBoxConfigForm( tabWidget );