Happy constructor pattern

svn path=/trunk/KDE/kdebase/workspace/; revision=1056199
This commit is contained in:
Adriaan de Groot 2009-11-29 16:16:34 +00:00
parent 1a354b98e4
commit 92ff288701
2 changed files with 2 additions and 2 deletions

View file

@ -34,7 +34,7 @@ extern "C"
{
KDE_EXPORT QObject* allocate_config( KConfig* conf, QWidget* parent )
{
return new TabstripConfig::TabstripConfig( conf, parent );
return new TabstripConfig( conf, parent );
}
}

View file

@ -30,7 +30,7 @@ extern "C"
{
KDE_EXPORT KDecorationFactory *create_factory()
{
return new TabstripFactory::TabstripFactory();
return new TabstripFactory();
}
}