diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2022-02-07 10:20:15 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2022-02-07 10:20:37 +0900 |
commit | 8ee4eb2f1d2e8d2ce2c4561b17e2dc0db3b147d3 (patch) | |
tree | 7e1c1d969f132808de352298298f8cf210331aa6 /kdevdesigner/designer/resource.cpp | |
parent | 6279394cc3cc565fd9a0ec7282d7fd89f8008da5 (diff) | |
download | tdevelop-8ee4eb2f1d2e8d2ce2c4561b17e2dc0db3b147d3.tar.gz tdevelop-8ee4eb2f1d2e8d2ce2c4561b17e2dc0db3b147d3.zip |
Removed TQT_NON_COMMERCIAL check and related code.r14.0.12
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 29ea77f8216e8cb351241c420270271959ed4cee)
Diffstat (limited to 'kdevdesigner/designer/resource.cpp')
-rw-r--r-- | kdevdesigner/designer/resource.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/kdevdesigner/designer/resource.cpp b/kdevdesigner/designer/resource.cpp index b4e2cb8e..718329b6 100644 --- a/kdevdesigner/designer/resource.cpp +++ b/kdevdesigner/designer/resource.cpp @@ -491,17 +491,8 @@ bool Resource::load( FormFile *ff, TQIODevice* dev, Project *defProject ) if ( !customWidgets.isNull() ) loadCustomWidgets( customWidgets, this ); -#if defined (TQT_NON_COMMERCIAL) - bool previewMode = MainWindow::self ? MainWindow::self->isPreviewing() : FALSE; - TQWidget *w = (TQWidget*)createObject( widget, !previewMode ? (TQWidget*)formwindow : MainWindow::self ); - if ( !w ) - return FALSE; - if ( previewMode ) - w->reparent( MainWindow::self, TQt::WType_TopLevel, w->pos(), TRUE ); -#else if ( !createObject( widget, formwindow) ) return FALSE; -#endif if ( !forwards.isNull() ) { for ( TQDomElement n = forwards.firstChild().toElement(); !n.isNull(); n = n.nextSibling().toElement() ) |