diff options
Diffstat (limited to 'chalk/ui/kis_factory.cc')
-rw-r--r-- | chalk/ui/kis_factory.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chalk/ui/kis_factory.cc b/chalk/ui/kis_factory.cc index 0924420d..aa84aa61 100644 --- a/chalk/ui/kis_factory.cc +++ b/chalk/ui/kis_factory.cc @@ -78,13 +78,13 @@ KisFactory::~KisFactory() /** * Create the document */ -KParts::Part* KisFactory::createPartObject( TQWidget *tqparentWidget, +KParts::Part* KisFactory::createPartObject( TQWidget *parentWidget, const char *widgetName, TQObject* tqparent, const char* name, const char* classname, const TQStringList & ) { bool bWantKoDocument = ( strcmp( classname, "KoDocument" ) == 0 ); - KisDoc *doc = new KisDoc( tqparentWidget, + KisDoc *doc = new KisDoc( parentWidget, widgetName, tqparent, name, !bWantKoDocument ); Q_CHECK_PTR(doc); |