diff options
author | Michele Calgaro <[email protected]> | 2022-02-07 10:20:15 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2022-02-07 10:20:15 +0900 |
commit | 29ea77f8216e8cb351241c420270271959ed4cee (patch) | |
tree | f2f7e5f2a4bd6b7245cf5add3cb942d539ac21d5 /kdevdesigner/designer/widgetfactory.cpp | |
parent | f79893bdbf3b44ce27812e13625607393deaa720 (diff) | |
download | tdevelop-29ea77f8216e8cb351241c420270271959ed4cee.tar.gz tdevelop-29ea77f8216e8cb351241c420270271959ed4cee.zip |
Removed TQT_NON_COMMERCIAL check and related code.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kdevdesigner/designer/widgetfactory.cpp')
-rw-r--r-- | kdevdesigner/designer/widgetfactory.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/kdevdesigner/designer/widgetfactory.cpp b/kdevdesigner/designer/widgetfactory.cpp index 9423b6a6..162e20ce 100644 --- a/kdevdesigner/designer/widgetfactory.cpp +++ b/kdevdesigner/designer/widgetfactory.cpp @@ -853,20 +853,12 @@ TQWidget *WidgetFactory::createWidget( const TQString &className, TQWidget *pare dia = new QDesignerDialog( (FormWindow*)parent, parent, name ); else dia = new TQDialog( parent, name ); -#if defined(TQT_NON_COMMERCIAL) - if ( ::tqqt_cast<MainWindow*>(parent) ) -#else if ( parent ) -#endif dia->reparent( parent, TQPoint( 0, 0 ), TRUE ); return dia; } else if ( className == TQWIZARD_OBJECT_NAME_STRING ) { TQWizard *wiz = new QDesignerWizard( parent, name ); -#if defined(TQT_NON_COMMERCIAL) - if ( ::tqqt_cast<MainWindow*>(parent) ) -#else if ( parent ) -#endif wiz->reparent( parent, TQPoint( 0, 0 ), TRUE ); if ( init && ::tqqt_cast<FormWindow*>(parent) ) { QDesignerWidget *dw = new QDesignerWidget( (FormWindow*)parent, wiz, "WizardPage" ); |